drm/ttm: make unlocking in ttm_bo_cleanup_refs optional v3
authorChristian König <christian.koenig@amd.com>
Wed, 8 Nov 2017 13:57:45 +0000 (14:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:45 +0000 (12:47 -0500)
commit6c41f30216c2dc60a20d00e32a25fb290a179195
tree6d2bc460714ea9614999240d9efe6a745202a18d
parent2a06e0a5a491f306e22eb5a5239a6bd8ce0f1ac6
drm/ttm: make unlocking in ttm_bo_cleanup_refs optional v3

Needed for the next patch.

v2: actually predicate all unlocks
v3: add some cleanups suggested by Michel.

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>
drivers/gpu/drm/ttm/ttm_bo.c