aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-12-12 10:53:11 +0000
committerAlex Deucher <[email protected]>2017-01-27 16:13:18 +0000
commit3e19e69ab01f53d68fc85e2fedcdd93c74994415 (patch)
treef53fa4b3d8a8908979f0fff3b646d62e92418d39 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amd/amdgpu: add check that shadow page directory is GPU-accessible (diff)
downloadkernel-3e19e69ab01f53d68fc85e2fedcdd93c74994415.tar.gz
kernel-3e19e69ab01f53d68fc85e2fedcdd93c74994415.zip
drm/amd/amdgpu: add check that shadow page tables are GPU-accessible
Skip amdgpu_gem_va_update_vm otherwise. Also clean up the check for the non-shadow page tables 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 v2: actually check bo->shadow instead of just checking bo twice 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_vm.h')
0 files changed, 0 insertions, 0 deletions