diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-07-05 17:32:00 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-07-09 12:37:58 +0200 |
commit | 9c62fb62c9f0761eeda8f2a9517e007ff2cdbe9a (patch) | |
tree | 72239f071cad5f34154f006c54f446a026cfea0c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 6be74ddd0609959b4005f88b6a4d4af678e4a71f (diff) | |
download | linux-9c62fb62c9f0761eeda8f2a9517e007ff2cdbe9a.tar.gz linux-9c62fb62c9f0761eeda8f2a9517e007ff2cdbe9a.tar.bz2 linux-9c62fb62c9f0761eeda8f2a9517e007ff2cdbe9a.zip |
drm/ttm: Slightly clean up LRU list iteration
To make the transition to using lru hitches easier,
simplify the ttm_resource_manager_next() interface to only take
the cursor and reuse ttm_resource_manager_next() functionality
from ttm_resource_manager_first().
Cc: Christian König <christian.koenig@amd.com>
Cc: Somalapuram Amaranath <Amaranath.Somalapuram@amd.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <dri-devel@lists.freedesktop.org>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240705153206.68526-3-thomas.hellstrom@linux.intel.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions