]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remap all page faults to per process dummy page.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 12 May 2021 14:26:38 +0000 (10:26 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 20 May 2021 03:50:27 +0000 (23:50 -0400)
commit03f9016ed8200d2bdf9ffcb7de93642d298e4668
treeba6a2e45f0299d8bcb99b02c12f6978f4c1d5ee3
parentd10d0daa207276aff3b740d1ea9b3f58a63256e7
drm/amdgpu: Remap all page faults to per process dummy page.

On device removal reroute all CPU mappings to dummy page
per drm_file instance or imported GEM object.

v4:
Update for modified ttm_bo_vm_dummy_page

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-7-andrey.grodzovsky@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c