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(-) -- 2.17.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx