drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Feb 2021 17:22:40 +0000 (12:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:38:31 +0000 (16:38 -0400)
commiteec64a5e5d07e6e66a0c7255b4324183ed57df1a
tree65f2f387003dd86a3952f482c1eeb1150a01cb4f
parent3bb1105071fb974e3e3ca2f92ddfd69c81285ab6
drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x

Commit 098214999c8f added fetching of the AUX_DPHY register
values from the vbios, but it also changed the default values
in the case when there are no values in the vbios.  This causes
problems with displays with high refresh rates.  To fix this,
switch back to the original default value for AUX_DPHY_TX_CONTROL.

Fixes: 098214999c8f ("drm/amd/display: Read VBIOS Golden Settings Tbl")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1426
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Igor Kravchenko <Igor.Kravchenko@amd.com>
Cc: Aric Cyr <Aric.Cyr@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c