shadow page table support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/amdgpu: irq resume should be immediately after gpu resumedrivers/ | +1 | 0 replies | |
| 2/13 | drm/amdgpu: add shadow bo supportdrivers/ drivers/ include/ | +36 | 0 replies | |
| 3/13 | drm/amdgpu: set shadow flag for pd/pt bodrivers/ drivers/ | +15 | 0 replies | |
| 4/13 | drm/amdgpu: update shadow pt bo while update ptdrivers/ | +12 | 0 replies | |
| 5/13 | drm/amdgpu: update pd shadow while updating pddrivers/ drivers/ | +48 | 0 replies | |
| 6/13 | drm/amdgpu: implement amdgpu_vm_recover_page_table_from_shadowdrivers/ drivers/ | +79 | 0 replies | |
| 7/13 | drm/amdgpu: link all vm clientsdrivers/ drivers/ drivers/ +1 more | +15 | 0 replies | |
| 8/13 | drm/amdgpu: add vm_list_lockdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 9/13 | drm/amd: add block entity functiondrivers/ drivers/ | +27 | 0 replies | |
| 10/13 | drm/amdgpu: recover page tables after gpu resetdrivers/ | +27 | 0 replies | |
| 11/13 | drm/amd: wait neccessary dependency before running jobdrivers/ | +5 | 0 replies | |
| 12/13 | drm/amdgpu: add vm recover pt fencedrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 13/13 | drm/amdgpu: add backup condition for shadow page tabledrivers/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] shadow page table support
Since we cannot make sure VRAM is safe after gpu reset, page table backup is neccessary, shadow page table is sense way to recovery page talbe when gpu reset happens.
We need to allocate GTT bo as the shadow of VRAM bo when creating page table, and make them same. After gpu reset, we will need to use SDMA to copy GTT bo content to VRAM bo, then page table will be recoveried.
Chunming Zhou (13):
drm/amdgpu: irq resume should be immediately after gpu resume drm/amdgpu: add shadow bo support
drm/amdgpu: set shadow flag for pd/pt bo
drm/amdgpu: update shadow pt bo while update pt drm/amdgpu: update pd shadow while updating pd drm/amdgpu: implement amdgpu_vm_recover_page_table_from_shadow drm/amdgpu: link all vm clients
drm/amdgpu: add vm_list_lock
drm/amd: add block entity function
drm/amdgpu: recover page tables after gpu reset drm/amd: wait neccessary dependency before running job drm/amdgpu: add vm recover pt fence
drm/amdgpu: add backup condition for shadow page table
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 15 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 33 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 36 ++++- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 219 ++++++++++++++++++++++---- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 30 +++- drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 3 + include/uapi/drm/amdgpu_drm.h | 2 + 9 files changed, 316 insertions(+), 33 deletions(-)
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx