drm/amd/display: VBIOS can't be light up HDMI when restart system
authorPaul Hsieh <paul.hsieh@amd.com>
Mon, 18 Mar 2019 10:04:05 +0000 (18:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:33:17 +0000 (22:33 -0500)
commitab0cb022c8fd6f465f40f1cbee7d71c6280b6c74
treecb9f48d6c7156123685da203e929e225ba1d5937
parentdb64a2f43c1bc22c5ff2d22606000b8c3587d0ec
drm/amd/display: VBIOS can't be light up HDMI when restart system

[Why]
VBIOS will not post pixel rate > 340MHz.
If driver set pixel rate > 340MHz and do restart bottom, VBIOS can't
post HDMI monitor due to monitor is stay in HDMI2.0 state.

[How]
Program Scrambling_Enable and TMDS_Bit_Clock_Ratio when disable stream.

Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c