drm/amd/display: Raise dispclk value for dce_update_clocks
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 21 Sep 2018 13:35:24 +0000 (09:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:04:13 +0000 (17:04 -0500)
commit6c0984d53b073d42ba44c92a1a721840f90bda60
tree4c85658d23c1b7157f820550c3dd8f9661d54289
parenta37786abc3bbbbd3a6dc470665af083b9a492cf7
drm/amd/display: Raise dispclk value for dce_update_clocks

[Why]

The DISPCLK value was previously requested to be 15% higher for all
ASICS that went through the dce110 bandwidth code path. As part of a
refactoring of dce_clocks and dce110 set_bandwidth this was removed
for power saving considerations.

This changed caused corruption under certain display configurations.
Originally thought to be Vega specific, it was also observed on Polaris.

[How]

The 15% is brought back but its placement differs from the original
patch. This boost should only be enable while DFS bypass is inactive.

This (like the Vega patch) is also a workaround that should be
removed after the root cause is identified.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c