diff options
| author | Andrey Grodzovsky <[email protected]> | 2021-05-12 14:26:33 +0000 |
|---|---|---|
| committer | Andrey Grodzovsky <[email protected]> | 2021-05-20 03:45:49 +0000 |
| commit | 267d51d77fdae8708b94e1a24b8e5d961297edb7 (patch) | |
| tree | 3b3cceaf6fc5c2ecc336d9419dc725a27908a70d /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | |
| parent | gpu: drm: replace occurrences of invalid character (diff) | |
| download | kernel-267d51d77fdae8708b94e1a24b8e5d961297edb7.tar.gz kernel-267d51d77fdae8708b94e1a24b8e5d961297edb7.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h')
0 files changed, 0 insertions, 0 deletions
