GART table recovery
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/amdgpu: make need_backup genericdrivers/ drivers/ | +2 | 0 replies | |
| 2/10 | drm/amdgpu: implement gart late_init/finidrivers/ drivers/ | +21 | 0 replies | |
| 3/10 | drm/amdgpu: add gart_late_init/fini to gmc V7/8drivers/ drivers/ | +40 | 0 replies | |
| 4/10 | drm/amdgpu: abstract amdgpu_bo_create_shadowdrivers/ drivers/ | +30 | 0 replies | |
| 5/10 | drm/amdgpu: shadow gart table supportdrivers/ drivers/ drivers/ +1 more | +80 | 0 replies | |
| 6/10 | drm/amdgpu: make recover_bo_from_shadow be genericdrivers/ drivers/ drivers/ | +51 | 0 replies | |
| 7/10 | drm/amdgpu: implement gart recoverydrivers/ drivers/ | +32 | 0 replies | |
| 8/10 | drm/amdgpu: recover gart table first when full resetdrivers/ | +2 | 0 replies | |
| 9/10 | drm/amdgpu: sync gart table before initialization completeddrivers/ drivers/ | +47 | 0 replies | |
| 10/10 | drm/amdgpu: fix memory leak of sched fencedrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] GART table recovery
gart table is stored in one bo which must be ready before gart init, but the shadow bo must be created after gart is ready, so they cannot be created at a same time. shado bo itself aslo is included in gart table, So shadow bo needs a synchronization after device init. After sync, the contents of bo and shadwo bo will be same, and be updated at a same time. Then we will be able to recover gart table from shadow bo when gpu full reset.
patch10 is a fix for memory leak.
Chunming Zhou (10):
drm/amdgpu: make need_backup generic
drm/amdgpu: implement gart late_init/fini drm/amdgpu: add gart_late_init/fini to gmc V7/8 drm/amdgpu: abstract amdgpu_bo_create_shadow drm/amdgpu: shadow gart table support
drm/amdgpu: make recover_bo_from_shadow be generic drm/amdgpu: implement gart recovery
drm/amdgpu: recover gart table first when full reset drm/amdgpu: sync gart table before initialization completed drm/amdgpu: fix memory leak of sched fence
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 9 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 139 +++++++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 80 ++++++++++++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 9 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 50 ++--------- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 39 +++++++- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 40 ++++++++- 9 files changed, 304 insertions(+), 66 deletions(-)
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx