]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93d519e9dc977057b5a2fe8ae3b0335b756c8e01
tree998a853fcd30691efbdbdfa92cbe351210f29fbf
parentbae0bb5cb9c3d7afa209b272ed8ba4c73ce83224
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