drm/amd/display: Add tracepoint for capturing clocks state
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 10 Sep 2020 21:49:31 +0000 (17:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:26 +0000 (13:34 -0400)
commit13b5ca42ca9c9647f26c4aa8c4ab78ee5de35162
tree5b130dd437009a2b0f79488642d543162f899db5
parent8b198f6e94d669810e0293d27a02401ddac4fad9
drm/amd/display: Add tracepoint for capturing clocks state

The clock state update is the source of many problems, and capturing
this sort of information helps debug. This commit introduces tracepoints
for capturing clock values and also add traces in DCE, DCN1, DCN2x, and
DCN3.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_trace.h