OSDN Git Service

drm/ttm: remove nonsense wait in ttm_bo_cleanup_refs_and_unlock
authorChristian König <christian.koenig@amd.com>
Wed, 26 Jul 2017 12:59:10 +0000 (14:59 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:45:55 +0000 (15:45 -0400)
commit1a33860d630c9cb4687ad01bda5651e96bad3694
treea3becf02e23ba7c106c2838901b78ab966bb65e7
parent8824c751eb61ebffb053c291199932845bac88b4
drm/ttm: remove nonsense wait in ttm_bo_cleanup_refs_and_unlock

With shared reservation objects the assumption that no fence
could have been added isn't true any more.

Additional to that the BO is about to be destroyed, so removing the
fences now has no advantage whatsoever.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c