diff options
author | Christian König <christian.koenig@amd.com> | 2017-11-08 14:38:34 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-06 18:47:19 +0100 |
commit | 36a0680aac137a9b956fb454d6bf642c9aae0be1 (patch) | |
tree | 8d430b9f437bf54bea090ab0908830e261746986 /drivers/gpu/drm/qxl | |
parent | drm/ttm: move unlocking out of ttm_bo_cleanup_memtype_use (diff) | |
download | linux-36a0680aac137a9b956fb454d6bf642c9aae0be1.tar.xz linux-36a0680aac137a9b956fb454d6bf642c9aae0be1.zip |
drm/ttm: consistently use reservation_object_unlock
Instead of having a confusing wrapper or call the underlying ww_mutex
function directly.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_release.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index a6da6fa6ad58..f27777daae63 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -468,7 +468,7 @@ void qxl_release_fence_buffer_objects(struct qxl_release *release) reservation_object_add_shared_fence(bo->resv, &release->base); ttm_bo_add_to_lru(bo); - __ttm_bo_unreserve(bo); + reservation_object_unlock(bo->resv); } spin_unlock(&glob->lru_lock); ww_acquire_fini(&release->ticket); |