Skip to content

Improve the dev coredump for gfx job timeout scenario

[email protected] amd-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v12 patches 9 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/amdgpu: skip printing vram_lost if neededdrivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c+15 -140 replies
2/2drm/amdgpu: Do core dump immediately when job tmodrivers/gpu/drm/amd/amdgpu/amdgpu_job.c+67 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSunil KhatriAlex Deucher
1/2
2/2A-b R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/2] Improve the dev coredump for gfx job timeout scenario

From: Trigger Huang <[email protected]>

The current dev coredump implementation sometimes cannot fully satisfy customer's requirements due to:
1, dev coredump is called in GPU reset function, so if GPU reset is disabled, the dev coredump is also disabled
2, When job timeout happened, the dump GPU status will be happened after a lot of operations, like soft_reset. The concern here is that the status is not so close to the real GPU's error status

The new solution will unconditionally call dev coredump immediately after a job timeout to get a closer representation of GPU's error status

Trigger Huang (2):
drm/amdgpu: skip printing vram_lost if needed drm/amdgpu: Do core dump immediately when job tmo

 .../gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c  | 20 +++---
 .../gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h  |  7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c       | 68 ++++++++++++++++++-
 4 files changed, 82 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1