Skip to content

RAS support for mmhub

Dennis Li amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesIn review

Changes in v2 from the cover letter

1. Fix some comment issues.
2. Add IP name prefix for the local static variable and function.
3. Move the EDC_CNT registers' defintion from mmhub_9_4 header files to mmhub_1_0 ones for vg20.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu: define soc15_ras_field_entry for reusedrivers/gpu/drm/amd/amdgpu/gfx_v9_0.c drivers/gpu/drm/amd/amdgpu/soc15.h+23 -231 reply
2/3drm/amdgpu: refine query function of mmhub EDC counter in vg20drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_1_0_offset.h drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_1_0_sh_mask.h +2 more+318 -3620 replies
3/3drm/amdgpu: implement querying ras error count for mmhub9.4drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h+257 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHawking ZhangAlex Deucher
SeriesR-b
1/3R-b
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] RAS support for mmhub

This set of patches is a continuation of RAS enablement patches for AMDGPU.

1. The new struct soc15_ras_field_entry will be reused by gfx, mmhub and other IP blocks.
2. Refine the query function of RAS error counter for VG20, add codes to help user to locate which sub-block of mmhub cause error.
3. Implement the query function of RAS error counter for Mi100

v2:
1. Fix some comment issues.
2. Add IP name prefix for the local static variable and function.
3. Move the EDC_CNT registers' defintion from mmhub_9_4 header files to mmhub_1_0 ones for vg20.

Dennis Li (3):
drm/amdgpu: define soc15_ras_field_entry for reuse drm/amdgpu: refine query function of mmhub EDC counter in vg20 drm/amdgpu: implement querying ras error count for mmhub9.4

 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c         |  34 +--
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c         |   3 +
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c       | 232 ++++++++++++----
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c       | 253 ++++++++++++++++-
 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h       |   2 +
 drivers/gpu/drm/amd/amdgpu/soc15.h            |  12 +
 .../include/asic_reg/mmhub/mmhub_1_0_offset.h |  16 ++
 .../asic_reg/mmhub/mmhub_1_0_sh_mask.h        | 122 +++++++++
 .../asic_reg/mmhub/mmhub_9_4_0_offset.h       |  53 ----
 .../asic_reg/mmhub/mmhub_9_4_0_sh_mask.h      | 257 ------------------
 10 files changed, 598 insertions(+), 386 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_offset.h
 delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h
Signature · 6 lines
2.17.1

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