drm/ttm: stop always moving BOs on the LRU on page fault
authorChristian König <christian.koenig@amd.com>
Fri, 11 Jan 2019 13:12:58 +0000 (14:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commit5d50fcbda7b0acd301bb1fc3d828df0aa29237b8
tree97c223e0a10ecb090b1a50d66a15d86ac9777480
parentd7e28e2d6b518af760c81ba578ecf4e4b0c0f401
drm/ttm: stop always moving BOs on the LRU on page fault

Move the BO on the LRU only when it is actually moved by a DMA
operation.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-And-Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c