drm/ttm: cleanup the resource of ghost objects after locking them
authorChristian König <christian.koenig@amd.com>
Wed, 7 Sep 2022 09:56:22 +0000 (11:56 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 8 Sep 2022 07:50:21 +0000 (09:50 +0200)
commite3d3fd1cea22ada5a06284d7bbb6cd5794d8545a
tree7f52621a705ec66b3ef09bbfed3dc8eb1271e5d6
parentd91c411c744b55e860fbafc9a499f4f22d64c762
drm/ttm: cleanup the resource of ghost objects after locking them

Otherwise lockdep will complain about cleaning up the bulk_move.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907100051.570641-1-christian.koenig@amd.com
Fixes: d91c411c744b ("drm/ttm: update bulk move object of ghost BO")
drivers/gpu/drm/ttm/ttm_bo_util.c