aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-12-12 11:09:12 +0000
committerAlex Deucher <[email protected]>2017-01-27 16:13:17 +0000
commitd1144b84fc15755afcfefe5ced1748acf6c5a7c2 (patch)
tree46af2fa3436943290bdd6a2cc9f7d60bed6f0d79 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentdrm/amd/amdgpu: add amdgpu_bo_gpu_accessible helper function (diff)
downloadkernel-d1144b84fc15755afcfefe5ced1748acf6c5a7c2.tar.gz
kernel-d1144b84fc15755afcfefe5ced1748acf6c5a7c2.zip
drm/amd/amdgpu: add check that shadow page directory is GPU-accessible
Skip amdgpu_gem_va_update_vm when shadow the page directory is swapped out. Clean up the check for non-shadow BOs as well using the new helper function. This fixes a crash with the stack trace: amdgpu_gem_va_update_vm -> amdgpu_vm_update_page_directory -> amdgpu_ttm_bind -> amdgpu_gtt_mgr_alloc Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions