aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2018-08-21 19:36:49 +0000
committerAlex Deucher <[email protected]>2018-08-27 16:09:50 +0000
commit5a83c93249098df2ee3b0039ec8f4495b959fcd0 (patch)
tree0d12ba48b1c98165fe1f0265c2fc2b1e9a7e8780 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/display: Enable DFS bypass support in DC config (diff)
downloadkernel-5a83c93249098df2ee3b0039ec8f4495b959fcd0.tar.gz
kernel-5a83c93249098df2ee3b0039ec8f4495b959fcd0.zip
drm/amd/display: Add support for toggling DFS bypass
[Why] If the hardware supports DFS bypass it will always be enabled after creation of the DCCG. DFS bypass should only be enabled when the current stream consists of a single embedded panel and the minimum display clock is below the DFS bypass threshold. [How] Add a function to the DCCG table that updates the DFS bypass state when setting the bandwidth. If the DFS bypass state is changed, the clock needs to be reprogrammed to reflect this before the DPREFCLK is updated for audio endpoints. The existing display clock value is used as the target display clock value when reprogramming since the resulting change will be equal or larger to the current value. These changes only specifically target dce110 but do offer a framework for support on other applicable targets. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: David Francis <[email protected]> Acked-by: Bhawanpreet Lakha <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions