1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/link
George Shen 9af611f290 drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming
[Why]
Each index in the DPSTREAMCLK_CNTL register
phyiscally maps 1-to-1 with HPO stream encoder
instance. On the other hand, each index in
DTBCLK_P_CNTL physically maps 1-to-1 with OTG
instance.

Current DCN32 DPSTREAMCLK_CLK programing assumes
that OTG instance always maps 1-to-1 with
HPO stream encoder instance. This is not always
guaranteed and can result in blackscreen.

[How]
Program the correct dpstreamclk instance with
the correct dtbclk_p source.

Reviewed-by: Ariel Bernstein <Eric.Bernstein@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-29 17:45:10 -04:00
..
link_dp_trace.c drm/amd/display: Move link_trace for edp to dp_trace 2022-04-05 10:29:48 -04:00
link_dp_trace.h drm/amd/display: Move link_trace for edp to dp_trace 2022-04-05 10:29:48 -04:00
link_hwss_dio.c drm/amd/display: Add enable/disable FIFO callbacks to stream setup 2022-07-25 17:14:50 -04:00
link_hwss_dio.h drm/amd/display: extract set stream attribute to link_hwss 2022-04-05 10:29:48 -04:00
link_hwss_dpia.c drm/amd/display: extract update stream allocation to link_hwss 2022-04-13 09:14:22 -04:00
link_hwss_dpia.h
link_hwss_hpo_dp.c drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming 2022-08-29 17:45:10 -04:00
link_hwss_hpo_dp.h
link_hwss_hpo_frl.c drm/amd/display: extract set stream attribute to link_hwss 2022-04-05 10:29:48 -04:00
link_hwss_hpo_frl.h
Makefile drm/amd/display: Add link dp trace support 2022-03-15 14:25:15 -04:00