Skip to content

RAS code refinements

Zhou1, Tao amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21drm/amdgpu: update parameter of ras_ih_cbdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +1 more+9 -70 replies
2/21drm/amdgpu: move umc ras irq functions to umc blockdrivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+72 -670 replies
3/21drm/amdgpu: move gfx ecc functions to generic gfx filedrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c+41 -390 replies
4/21drm/amdgpu: move sdma ecc functions to generic sdma filedrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c+36 -220 replies
5/21drm/amdgpu: refine sdma4 ras_data_cbdrivers/gpu/drm/amd/amdgpu/sdma_v4_0.c+17 -154 replies
6/21drm/amdgpu: move umc_ras_if from gmc to umc blockdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +1 more+17 -170 replies
7/21drm/amdgpu: add common mmhub member for adevdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h+8 -00 replies
8/21drm/amdgpu: replace mmhub_funcs with mmhub.funcsdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+5 -60 replies
9/21drm/amdgpu: move mmhub_ras_if from gmc to mmhub blockdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+14 -150 replies
10/21drm/amdgpu: add common gmc_ras_fini functiondrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+28 -270 replies
11/21drm/amdgpu: add common gfx_ras_fini functiondrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c+17 -132 replies
12/21drm/amdgpu: add common sdma_ras_fini functiondrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c+21 -150 replies
13/21drm/amdgpu: remove ih_info parameter of umc_ras_late_initdrivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+10 -140 replies
14/21drm/amdgpu: remove ih_info parameter of gfx_ras_late_initdrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c+9 -150 replies
15/21drm/amdgpu: simplify the access to eeprom_control structdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+3 -30 replies
16/21drm/amdgpu: add ras fini for nbiodrivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h drivers/gpu/drm/amd/amdgpu/soc15.c+16 -10 replies
17/21drm/amdgpu: add ras fini for xgmidrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c+11 -00 replies
18/21drm/amdgpu: move umc ras fini to umc blockdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h+17 -110 replies
19/21drm/amdgpu: move mmhub ras fini to mmhub blockdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h+16 -120 replies
20/21drm/amdgpu: move xgmi ras fini to xgmi blockdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h+17 -110 replies
21/21drm/amdgpu: implement common gmc_ecc_late_initdrivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c+21 -210 replies

Reviews trailers per patch

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

PatchGuchun Chen
SeriesR-b
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

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/21] RAS code refinements

some refinements for RAS, no functional change:

1. make more ras code can be reusable among different generations of ras block;
2. make some ras code simpler;

Tao Zhou (21):
drm/amdgpu: update parameter of ras_ih_cb drm/amdgpu: move umc ras irq functions to umc block drm/amdgpu: move gfx ecc functions to generic gfx file drm/amdgpu: move sdma ecc functions to generic sdma file drm/amdgpu: refine sdma4 ras_data_cb
drm/amdgpu: move umc_ras_if from gmc to umc block drm/amdgpu: add common mmhub member for adev drm/amdgpu: replace mmhub_funcs with mmhub.funcs drm/amdgpu: move mmhub_ras_if from gmc to mmhub block drm/amdgpu: add common gmc_ras_fini function drm/amdgpu: add common gfx_ras_fini function drm/amdgpu: add common sdma_ras_fini function drm/amdgpu: remove ih_info parameter of umc_ras_late_init drm/amdgpu: remove ih_info parameter of gfx_ras_late_init drm/amdgpu: simplify the access to eeprom_control struct drm/amdgpu: add ras fini for nbio
drm/amdgpu: add ras fini for xgmi
drm/amdgpu: move umc ras fini to umc block drm/amdgpu: move mmhub ras fini to mmhub block drm/amdgpu: move xgmi ras fini to xgmi block drm/amdgpu: implement common gmc_ecc_late_init

 drivers/gpu/drm/amd/amdgpu/amdgpu.h       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c   |  64 ++++++++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h   |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c   |  27 +++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h   |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c |  38 ++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h |   7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c  |  14 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h  |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c   |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h   |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c  |  47 +++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h  |   7 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c   | 117 +++++++++++++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h   |  12 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c  |  14 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h  |   1 +
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c     |  58 +----------
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c     | 119 +---------------------
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c    |  74 ++++----------
 drivers/gpu/drm/amd/amdgpu/soc15.c        |   1 +
 21 files changed, 353 insertions(+), 279 deletions(-)
Signature · 6 lines
2.17.1

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