linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
bios drm/amd/display: Set DFS bypass flags for dce110 2018-08-27 11:09:49 -05:00
calcs drm/amd/display: Move PME to function pointer call semantics 2018-08-27 11:09:48 -05:00
core drm/amd/display: Enable DFS bypass support in DC config 2018-08-27 11:09:50 -05:00
dce drm/amd/display: Add support for toggling DFS bypass 2018-08-27 11:09:50 -05:00
dce80 drm/amd/display: Don't share clk source between DP and HDMI 2018-08-06 14:35:43 -05:00
dce100 drm/amd/display: Don't share clk source between DP and HDMI 2018-08-06 14:35:43 -05:00
dce110 drm/amd/display: Add support for toggling DFS bypass 2018-08-27 11:09:50 -05:00
dce112 drm/amd/display: Destroy aux_engines only once 2018-08-06 14:35:24 -05:00
dce120 drm/amd/display: Fix warning observed in mode change on Vega 2018-08-13 17:22:08 -05:00
dcn10 drm/amd/display: pass compat_level to hubp 2018-08-27 11:09:48 -05:00
dml drm/amd/display: update dml to match DV dml 2018-07-13 14:52:13 -05:00
gpio Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
i2caux Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
inc drm/amd/display: Add support for toggling DFS bypass 2018-08-27 11:09:50 -05:00
irq Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
virtual drm/amd/display: Pass signal directly to enable_tmds_output 2018-03-07 16:27:20 -05:00
dc_bios_types.h drm/amd/display: get board layout for edid emulation 2018-07-05 16:38:45 -05:00
dc_ddc_types.h drm/amd/display: Move i2c and aux structs into dc_ddc_types.h 2018-06-15 12:23:38 -05:00
dc_dp_types.h drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests 2018-06-15 12:22:09 -05:00
dc_helper.c drm/amd/display: generic indirect register access 2018-07-13 14:47:33 -05:00
dc_hw_types.h drm/amd/display: Implement custom degamma lut on dcn 2018-08-06 14:35:25 -05:00
dc_link.h drm/amd/display: add vbios table check for enabling dp ss 2018-08-06 15:56:54 -05:00
dc_stream.h drm/amd/display: Refactor SDR cursor boosting in HDR mode 2018-07-16 16:11:49 -05:00
dc_types.h drm/amd/display: Patch for extend time to panel poweron. 2018-07-13 14:49:29 -05:00
dc.h drm/amd/display: dal 3.1.60 2018-08-27 11:09:49 -05:00
dm_helpers.h drm/amd/display: Add hook for MST root branch info 2018-07-16 16:11:49 -05:00
dm_pp_smu.h drm/amd/display: Move PME to function pointer call semantics 2018-08-27 11:09:48 -05:00
dm_services_types.h drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz 2018-07-05 16:38:51 -05:00
dm_services.h amdgpu: display: use modern ktime accessors 2018-06-19 13:17:38 -05:00
irq_types.h drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
Makefile Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00
os_types.h Revert "drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86" 2018-08-21 14:32:28 -05:00