linux/drivers/gpu/drm/ttm
Thomas Hellström 70d645deac drm/ttm: Add helpers for shrinking
Add a number of helpers for shrinking that access core TTM and
core MM functionality in a way that make them unsuitable for
driver open-coding.

v11:
- New patch (split off from previous) and additional helpers.
v13:
- Adapt to ttm_backup interface change.
- Take resource off LRU when backed up.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/intel-xe/20250305092220.123405-6-thomas.hellstrom@linux.intel.com
2025-03-05 17:08:59 +01:00
..
tests drm/ttm: Handle cgroup based eviction in TTM 2025-01-10 09:54:49 +01:00
Makefile drm/ttm: Provide a shmem backup implementation 2025-03-05 17:08:59 +01:00
ttm_agp_backend.c
ttm_backup.c drm/ttm: Provide a shmem backup implementation 2025-03-05 17:08:59 +01:00
ttm_bo.c Merge drm/drm-next into drm-misc-next 2025-02-06 13:47:32 +01:00
ttm_bo_util.c drm/ttm: Add helpers for shrinking 2025-03-05 17:08:59 +01:00
ttm_bo_vm.c UAPI Changes: 2024-12-13 10:19:44 +10:00
ttm_device.c drm/ttm: Move swapped objects off the manager's LRU list 2024-10-09 13:41:30 +02:00
ttm_execbuf_util.c
ttm_module.c
ttm_module.h
ttm_pool.c drm/ttm: Use fault-injection to test error paths 2025-03-05 17:08:59 +01:00
ttm_range_manager.c
ttm_resource.c drm/ttm: use ttm_resource_unevictable() to replace pin_count and swapped 2025-02-10 13:39:03 +01:00
ttm_sys_manager.c
ttm_tt.c drm/ttm: Add helpers for shrinking 2025-03-05 17:08:59 +01:00