summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_gem_shmem_helper.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-05-12 10:26:33 -0400
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-05-19 23:45:49 -0400
commit267d51d77fdae8708b94e1a24b8e5d961297edb7 (patch)
tree3b3cceaf6fc5c2ecc336d9419dc725a27908a70d /include/drm/drm_gem_shmem_helper.h
parente52e4a3132a604c9f04a934bd6c2980f5293dc0a (diff)
downloadlinux-267d51d77fdae8708b94e1a24b8e5d961297edb7.tar.bz2
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
Diffstat (limited to 'include/drm/drm_gem_shmem_helper.h')
0 files changed, 0 insertions, 0 deletions