]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf0aa2ffa43cbd733eabbf4ecda8f945976ed4f7
tree54ca7a331adb385f3812ed960678b2818588c283
parent671b904c39fb76f9c74e8f74e8a48da8ba46acc7
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