]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add link dp trace support
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Fri, 11 Feb 2022 14:44:05 +0000 (09:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:25:15 +0000 (14:25 -0400)
commit3373724c0b4fbec13ad95ffc5795bc6c6e70c58e
tree2dcf6c8582dc62502afd76b3d46a1028ba74fcef
parent4d6e8c305acf79531efeaf90a79adaa240e73860
drm/amd/display: Add link dp trace support

[Why]
It is nice to have link training and link loss status logging in
our trace, and this patch add the all necessary accessors in dc
side.

[How]
1. Define dp_trace struct and create new file link_dp_trace.c and
link_dp_trace.h;
2. Add dp link training status update in dc_link_dp.c;

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/dc/link/Makefile
drivers/gpu/drm/amd/display/dc/link/link_dp_trace.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/link/link_dp_trace.h [new file with mode: 0644]