]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5031f4de71532de513edb099872a99201860c4ec
tree6f2181c41ad7b5893eff5d9842ecb9ede298e16d
parent7db3b21265b469a06ea7cf626db97f25a1a73da5
drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x

Commit 47fe592ec917 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: 47fe592ec917 ("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