drm/ttm: remove swap LRU v3
authorChristian König <christian.koenig@amd.com>
Tue, 6 Oct 2020 14:30:09 +0000 (16:30 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 24 Mar 2021 16:05:14 +0000 (17:05 +0100)
commitf9e2a03e110ad0c78e69201f59d18dc1c487efac
tree998a853fcd30691efbdbdfa92cbe351210f29fbf
parentebd59851c796c221daf0d3b594fb2533f87161cf
drm/ttm: remove swap LRU v3

Instead evict round robin from each devices SYSTEM and TT domain.

v2: reorder num_pages access reported by Dan's script
v3: fix rebase fallout, num_pages should be 32bit

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/424009/
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_device.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_device.h