linux/drivers/gpu/drm/ttm
Andrey Grodzovsky 267d51d77f drm/ttm: Remap all page faults to per process dummy page.
On device removal reroute all CPU mappings to dummy page.

v3:
Remove loop to find DRM file and instead access it
by vma->vm_file->private_data. Move dummy page installation
into a separate function.

v4:
Map the entire BOs VA space into on demand allocated dummy page
on the first fault for that BO.

v5: Remove duplicate return.

v6: Polish ttm_bo_vm_dummy_page, remove superfluous code.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210512142648.666476-2-andrey.grodzovsky@amd.com
2021-05-19 23:45:49 -04:00
..
Makefile drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_agp_backend.c drm/ttm: cleanup ttm_agp_backend 2021-05-03 12:50:41 +02:00
ttm_bo_util.c drm/ttm: always initialize the full ttm_resource v2 2021-05-03 12:50:41 +02:00
ttm_bo_vm.c drm/ttm: Remap all page faults to per process dummy page. 2021-05-19 23:45:49 -04:00
ttm_bo.c drm/ttm: properly allocate sys resource during swapout 2021-05-03 12:50:41 +02:00
ttm_device.c drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_execbuf_util.c drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_module.c drm/ttm: drop sysfs directory 2021-02-09 17:28:01 +01:00
ttm_module.h drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_pool.c drm-misc-next for 5.13: 2021-03-16 17:08:46 +10:00
ttm_range_manager.c drm/ttm: move the page_alignment into the BO v2 2021-04-23 16:23:02 +02:00
ttm_resource.c drm/ttm: always initialize the full ttm_resource v2 2021-05-03 12:50:41 +02:00
ttm_sys_manager.c drm/ttm: fix warning in new sys man 2021-05-04 16:10:10 +02:00
ttm_tt.c drm/ttm: fix error handling if no BO can be swapped out v4 2021-04-23 14:08:04 +02:00