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:

committed by
Dave Airlie

parent
a9dbfff1cb
commit
0a46fb5f41
@@ -1237,7 +1237,7 @@ void radeon_vm_bo_invalidate(struct radeon_device *rdev,
|
||||
{
|
||||
struct radeon_bo_va *bo_va;
|
||||
|
||||
BUG_ON(!atomic_read(&bo->tbo.reserved));
|
||||
BUG_ON(!radeon_bo_is_reserved(bo));
|
||||
list_for_each_entry(bo_va, &bo->va, bo_list) {
|
||||
bo_va->valid = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user