diff options
| author | 2016-12-12 12:09:12 +0100 | |
|---|---|---|
| committer | 2017-01-27 11:13:17 -0500 | |
| commit | d1144b84fc15755afcfefe5ced1748acf6c5a7c2 (patch) | |
| tree | 46af2fa3436943290bdd6a2cc9f7d60bed6f0d79 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/amd/amdgpu: add amdgpu_bo_gpu_accessible helper function (diff) | |
| download | linux-dev-d1144b84fc15755afcfefe5ced1748acf6c5a7c2.tar.xz linux-dev-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 <nicolai.haehnle@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
