]> 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)
commitb4cdebccdd3691f3894be724cf1b7533904db9cb
tree97c223e0a10ecb090b1a50d66a15d86ac9777480
parentc4fd7d5cd00c52bac40d549e5ecd696e15b547de
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