mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drm/radeon: Use ttm_bo_is_reserved
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a9dbfff1cb
commit
0a46fb5f41
3 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ static inline unsigned long radeon_bo_size(struct radeon_bo *bo)
|
|||
|
||||
static inline bool radeon_bo_is_reserved(struct radeon_bo *bo)
|
||||
{
|
||||
return !!atomic_read(&bo->tbo.reserved);
|
||||
return ttm_bo_is_reserved(&bo->tbo);
|
||||
}
|
||||
|
||||
static inline unsigned radeon_bo_ngpu_pages(struct radeon_bo *bo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue