linux/include/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
..
ttm_bo_api.h drm/ttm: Remap all page faults to per process dummy page. 2021-05-19 23:45:49 -04:00
ttm_bo_driver.h drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_caching.h drm/ttm: new TT backend allocation pool v3 2020-10-29 15:52:51 +01:00
ttm_device.h drm/ttm: switch to per device LRU lock 2021-03-24 17:05:25 +01:00
ttm_execbuf_util.h drm/ttm: remove superflous extern attribute from funcs 2020-09-17 16:14:42 +02:00
ttm_placement.h drm/ttm: nuke caching placement flags 2020-10-15 12:51:35 +02:00
ttm_pool.h drm/ttm: new TT backend allocation pool v3 2020-10-29 15:52:51 +01:00
ttm_resource.h drm/ttm: move the page_alignment into the BO v2 2021-04-23 16:23:02 +02:00
ttm_tt.h drm/ttm: switch back to static allocation limits for now 2021-03-29 11:05:36 +02:00