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>
Wed, 24 Mar 2021 04:30:57 +0000 (00:30 -0400)
commit5c458585c0141754cdcbf25feebb547dd671b559
tree6f2181c41ad7b5893eff5d9842ecb9ede298e16d
parentc933b111094f2818571fc51b81b98ee0d370c035
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c