OSDN Git Service

drm/amdgpu: refine query function of mmhub EDC counter in vg20
authorDennis Li <Dennis.Li@amd.com>
Tue, 19 Nov 2019 08:02:28 +0000 (16:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:26:46 +0000 (14:26 -0500)
commit8781e5df119fbce754bf027c691208f677dc07c8
tree8f61feeccfaeb83c3b552a109653ca823d33fbcf
parent46f719696ee62a7637116791bb4f571d030569cd
drm/amdgpu: refine query function of mmhub EDC counter in vg20

Add codes to print the detail EDC info for the subblock of mmhub

v2: Move the EDC_CNT registers' defintion from mmhub_9_4 header
files to mmhub_1_0 ones. Add mmhub_v1_0_ prefix for the local
static variable and function.

v3: squash in DC fix

Signed-off-by: Dennis Li <dennis.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.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
drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_offset.h [deleted file]
drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_9_4_0_sh_mask.h [deleted file]