diff options
| author | Nicolai Hähnle <[email protected]> | 2016-12-15 16:26:42 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-01-27 16:13:16 +0000 |
| commit | 661a7606c97b6e6a73f553b0a6b60f553d5afa77 (patch) | |
| tree | 5f4390a59c3acd085e26a539e55d71c211a2460b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/ttm: add evict parameter to ttm_bo_driver::move_notify (diff) | |
| download | kernel-661a7606c97b6e6a73f553b0a6b60f553d5afa77.tar.gz kernel-661a7606c97b6e6a73f553b0a6b60f553d5afa77.zip | |
drm/amd/amdgpu: move eviction counting to amdgpu_bo_move_notify
This catches evictions of shadow page tables from the GART. Since shadow
page tables are always stored in system memory, amdgpu_bo_move is never
called for them.
This fixes a crash during command submission that occurs when only a shadow
page table and no other BOs were evicted since the last submission.
Fixes: 1baa439fb2f4e586 ("drm/amdgpu: allocate shadow for pd/pt bo V2")
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.c')
0 files changed, 0 insertions, 0 deletions
