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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:31:55 +0000 (14:31 +0200)
commitdc28098f40b44705389fcae8596dc6a7668a95b3
tree95c42ee72c4a0755e4af288ce149e2098d6e7a01
parente02f765fa784b7bf121451b8e2af2a69676a7710
drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x

commit 5c458585c0141754cdcbf25feebb547dd671b559 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c