]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix ttm_mem_evict_first once more
authorChristian König <christian.koenig@amd.com>
Wed, 15 Nov 2017 10:05:17 +0000 (11:05 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:53 +0000 (12:47 -0500)
commitc58698c147dccd51fb33c92e4545f7fb1b991d56
tree303bd957f6d24cfd9938d8d334793a9858e506af
parent0950eb66072c661466eb802ef7d6891af49d1ff5
drm/ttm: fix ttm_mem_evict_first once more

The code path isn't hit at the moment, but we need to take the lock to
add the BO back to the LRU.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c