[PATCH v2 0/3] RAS support for mmhub

Dennis Li Dennis.Li at amd.com
Wed Nov 20 10:49:29 UTC 2019


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

-- 
2.17.1



More information about the amd-gfx mailing list