]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit850a3bdf4fbaab931cfa0d110464b6a4dc05b9af
tree97c223e0a10ecb090b1a50d66a15d86ac9777480
parente5adc9cd8817f5f495d03506b5e6307af283d30d
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