Skip to content

add recovery entity and run queue

Chunming Zhou amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/amdgpu: hw ring should be empty when gpu resetdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c+13 -00 replies
2/11drm/amdgpu: specify entity to amdgpu_copy_bufferdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c drivers/gpu/drm/amd/amdgpu/amdgpu_test.c +2 more+11 -80 replies
3/11drm/amd: add recover run queue for schedulerdrivers/gpu/drm/amd/scheduler/gpu_scheduler.h+2 -10 replies
4/11drm/amdgpu: fix vm init error pathdrivers/gpu/drm/amd/amdgpu/amdgpu_vm.c+4 -10 replies
5/11drm/amdgpu: add vm recover entitydrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c+17 -80 replies
6/11drm/amdgpu: use all pte rings to recover page tabledrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+25 -90 replies
7/11drm/amd: add recover entity for every schedulerdrivers/gpu/drm/amd/scheduler/gpu_scheduler.c drivers/gpu/drm/amd/scheduler/gpu_scheduler.h+21 -40 replies
8/11drm/amd: use scheduler to recover hw jobsdrivers/gpu/drm/amd/scheduler/gpu_scheduler.c+16 -320 replies
9/11drm/amd: hw job list should be exactdrivers/gpu/drm/amd/scheduler/gpu_scheduler.c+18 -200 replies
10/11drm/amd: reset jobs to recover entitydrivers/gpu/drm/amd/scheduler/gpu_scheduler.c+10 -90 replies
11/11drm/amdgpu: no need fence wait every timedrivers/gpu/drm/amd/amdgpu/amdgpu_vm.c+0 -20 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchEdward O'Callaghan
1/11R-b
2/11
3/11R-b
4/11
5/11
6/11
7/11
8/11
9/11R-b
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] add recovery entity and run queue

every vm has itself recovery entity, which is used to reovery page table from their shadow. They don't need to wait front vm completed.
And also using all pte rings can speed reovery.

every scheduler has its own recovery entity, which is used to save hw jobs, and resubmit from it, which solves the conflicts between reset thread and scheduler thread when run job.

And some fixes when doing this improment.

Chunming Zhou (11):
drm/amdgpu: hw ring should be empty when gpu reset drm/amdgpu: specify entity to amdgpu_copy_buffer drm/amd: add recover run queue for scheduler drm/amdgpu: fix vm init error path drm/amdgpu: add vm recover entity drm/amdgpu: use all pte rings to recover page table drm/amd: add recover entity for every scheduler drm/amd: use scheduler to recover hw jobs drm/amd: hw job list should be exact drm/amd: reset jobs to recover entity drm/amdgpu: no need fence wait every time

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  35 +++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c      |  11 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c      |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c       |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c        |  27 ++++--
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 129 +++++++++++++-------------
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h |   4 +-
 9 files changed, 135 insertions(+), 92 deletions(-)
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx