linux/drivers/gpu/drm/ttm
Christian König fda8d552c9 drm/ttm: add a weak BO reference to the resource v3
Keep track for which BO a resource was allocated.
This is necessary to move the LRU handling into the resources.

A bit problematic is i915 since it tries to use the resource
interface without a BO which is illegal from the conceptional
point of view.

v2: Document that this is a weak reference and add a workaround for i915
v3: further document that this is protected by ttm_device::lru_lock and
    clarify the i915 workaround

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220124122514.1832-4-christian.koenig@amd.com
2022-01-26 15:30:19 +01:00
..
Makefile
ttm_agp_backend.c
ttm_bo.c Linux 5.16-rc5 2021-12-14 10:24:28 +01:00
ttm_bo_util.c drm/ttm: add a weak BO reference to the resource v3 2022-01-26 15:30:19 +01:00
ttm_bo_vm.c drm/ttm: remove ttm_bo_vm_insert_huge() 2021-11-05 11:13:19 +01:00
ttm_device.c Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
ttm_execbuf_util.c
ttm_module.c Merge drm/drm-next into drm-misc-next 2021-09-14 09:25:30 +02:00
ttm_module.h
ttm_pool.c drm/ttm: s/FLAG_SG/FLAG_EXTERNAL/ 2021-09-29 16:17:56 +02:00
ttm_range_manager.c drm/ttm: add back a reference to the bdev to the res manager 2022-01-26 15:29:24 +01:00
ttm_resource.c drm/ttm: add a weak BO reference to the resource v3 2022-01-26 15:30:19 +01:00
ttm_sys_manager.c drm/ttm: add back a reference to the bdev to the res manager 2022-01-26 15:29:24 +01:00
ttm_tt.c treewide: Add missing includes masked by cgroup -> bpf dependency 2021-12-03 10:58:13 -08:00