drm/amd/display: Add pipe_state tracepoint
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 9 Sep 2020 14:36:03 +0000 (10:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:20 +0000 (13:34 -0400)
commit8b198f6e94d669810e0293d27a02401ddac4fad9
tree54ca7a331adb385f3812ed960678b2818588c283
parente8a982355f9669c30785a85dc1bf6a73131a8307
drm/amd/display: Add pipe_state tracepoint

This commit introduces a trace mechanism for struct pipe_ctx by adding a
middle layer struct in the amdgpu_dm_trace.h for capturing the most
important data from struct pipe_ctx and showing its data via tracepoint.
This tracepoint was added to dc.c and dcn10_hw_sequencer, however, it
can be added to other DCN architecture.

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 [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c