aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2021-02-25 03:34:11 +0000
committerAlex Deucher <[email protected]>2021-04-21 01:48:50 +0000
commit90d7d3eda5796fa48048f1114b0aa090c5465d17 (patch)
treebc950b404da840d2a86395375fec3f8317e509dd /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdkfd: HMM migrate vram to ram (diff)
downloadkernel-90d7d3eda5796fa48048f1114b0aa090c5465d17.tar.gz
kernel-90d7d3eda5796fa48048f1114b0aa090c5465d17.zip
drm/amdkfd: invalidate tables on page retry fault
GPU page tables are invalidated by unmapping prange directly at the mmu notifier, when page fault retry is enabled through amdgpu_noretry global parameter. The restore page table is performed at the page fault handler. If xnack is on, we update GPU mappings after migration to avoid unnecessary GPUVM faults. Signed-off-by: Alex Sierra <[email protected]> Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions