linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas 5a83c93249 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 <nicholas.kazlauskas@amd.com>
Reviewed-by: David Francis <David.Francis@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-08-27 11:09:50 -05:00
..
amdgpu_dm drm/amd/display: Move PME to function pointer call semantics 2018-08-27 11:09:48 -05:00
dc drm/amd/display: Add support for toggling DFS bypass 2018-08-27 11:09:50 -05:00
include drm/amd/display: Set DFS bypass flags for dce110 2018-08-27 11:09:49 -05:00
modules drm/amd/display: Implement custom degamma lut on dcn 2018-08-06 14:35:25 -05:00
Kconfig drm/amd/display: Don't build DCN1 when kcov is enabled 2018-08-21 14:33:59 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00