drm/amd/display: refactor dump_clk_registers
authorSu Sung Chung <Su.Chung@amd.com>
Wed, 22 May 2019 18:28:52 +0000 (14:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:09 +0000 (14:18 -0500)
commitc1f2e0154065963f95ce22e03ff05a420cb3aac7
tree9dca5915377f65489baebf0428692ecf7931e6f9
parent29344d152d0a7a54945606d9065c5de79161f100
drm/amd/display: refactor dump_clk_registers

[why]
for 2 purposes:

1. get raw register value dumped on the log, which will make it easier
to talk to other team who only knows about the register

2. enable other HW to be able to use the same interface as raven to log
clock register data

Signed-off-by: Su Sung Chung <Su.Chung@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c
drivers/gpu/drm/amd/display/dc/dm_services.h