linux_dsm_epyc7002/drivers/gpu/drm/i915/display
Imre Deak ccc495fd7a drm/i915: Unify the DPLL ref clock frequency tracking
All platforms using the shared DPLL framework use 3 reference clocks for
their DPLLs: SSC, non-SSC and DSI. For a more unified way across
platforms store the frequency of these ref clocks as part of the DPLL
global state. This also allows us to keep the HW access reading out the
ref clock value separate from the DPLL frequency calculation that
depends on the ref clock.

For now add only the SSC and non-SSC ref clocks, as the pre-ICL DSI code
has its own logic for calculating DPLL parameters instead of the shared
DPLL framework.

v2:
- Apply the ICL combo PHY PLL ref_clock/2 adjustment during the
  frequency->PLL param conversion direction as well. (CI shards)
- s/kHZ/kHz/ (Ville)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200228153328.17842-1-imre.deak@intel.com
2020-03-02 19:36:22 +02:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculation 2020-03-02 19:36:21 +02:00
intel_acpi.c drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
intel_acpi.h drm/i915/acpi: Move the code to populate ACPI device ID into intel_acpi 2020-01-24 12:58:39 +02:00
intel_atomic_plane.c drm/i915: Use intel_plane_data_rate for min_cdclk calculation 2020-03-02 19:27:25 +02:00
intel_atomic_plane.h drm/i915: Use intel_plane_data_rate for min_cdclk calculation 2020-03-02 19:27:25 +02:00
intel_atomic.c drm/i915/atomic: conversion to drm_device based logging macros. 2020-02-11 15:11:50 +02:00
intel_atomic.h drm/i915: Introduce better global state handling 2020-01-31 17:00:44 +02:00
intel_audio.c drm/i915: Get first crtc instead of PIPE_A crtc 2020-02-26 16:14:47 +02:00
intel_audio.h
intel_bios.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_bios.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_bw.c drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
intel_bw.h drm/i915: Convert bandwidth state to global state 2020-01-31 17:00:44 +02:00
intel_cdclk.c drm/i915/display/cdclk: Make WARN* drm specific where drm_priv ptr is available 2020-02-23 17:36:28 +02:00
intel_cdclk.h drm/i915: Read rawclk_freq earlier 2020-02-19 14:09:18 +00:00
intel_color.c drm/i915: Add i9xx_lut_8() 2020-02-20 21:44:54 +02:00
intel_color.h
intel_combo_phy.c drm/i915/combo_phy: convert to struct drm_device logging macros. 2020-02-11 15:23:33 +02:00
intel_combo_phy.h
intel_connector.c drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
intel_connector.h
intel_crt.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_crt.h
intel_csr.c drm/i915/csr: use intel_de_*() functions for register access 2020-02-18 10:43:32 +02:00
intel_csr.h drm/i915: move intel_csr.[ch] under display/ 2020-02-14 08:48:12 +02:00
intel_ddi.c drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculation 2020-03-02 19:36:21 +02:00
intel_ddi.h drm/i915: Move DPLL frequency calculation to intel_dpll_mgr.c 2020-03-02 19:36:21 +02:00
intel_de.h drm/i915: add display engine uncore helpers 2020-01-23 11:07:00 +02:00
intel_display_debugfs.c drm/i915: Unify the DPLL ref clock frequency tracking 2020-03-02 19:36:22 +02:00
intel_display_debugfs.h drm/i915: split out display debugfs to a separate file 2020-02-14 13:26:51 +02:00
intel_display_power.c drm/i915/tgl: Allow DC5/DC6 entry while PG2 is active 2020-02-26 15:07:42 -08:00
intel_display_power.h drm/i915/tgl: Allow DC5/DC6 entry while PG2 is active 2020-02-26 15:07:42 -08:00
intel_display_types.h drm/i915/crc: move pipe_crc from drm_i915_private to intel_crtc 2020-03-02 12:58:26 +02:00
intel_display.c drm/i915: Keep the global DPLL state in a DPLL specific struct 2020-03-02 19:36:21 +02:00
intel_display.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_dp_aux_backlight.c Revert "drm/i915: Don't use VBT for detecting DPCD backlight controls" 2020-02-07 13:06:54 +02:00
intel_dp_aux_backlight.h
intel_dp_link_training.c drm/i915/dp_link_training: convert to drm_device based logging macros. 2020-02-11 15:11:34 +02:00
intel_dp_link_training.h
intel_dp_mst.c drm/i915/mst: Set intel_dp_set_m_n() for MST slaves 2020-02-15 11:05:56 +02:00
intel_dp_mst.h drm/i915/tgl: Select master transcoder for MST stream 2019-12-23 09:26:41 -08:00
intel_dp.c drm/i915/dp: Use BDB_GENERAL_FEATURES VBT block info for builtin panel-orientation 2020-03-02 14:01:42 +01:00
intel_dp.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_dpio_phy.c drm/i915/dpio_phy: convert to drm_device based logging macros. 2020-02-11 15:28:52 +02:00
intel_dpio_phy.h
intel_dpll_mgr.c drm/i915: Unify the DPLL ref clock frequency tracking 2020-03-02 19:36:22 +02:00
intel_dpll_mgr.h drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculation 2020-03-02 19:36:21 +02:00
intel_dsb.c drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
intel_dsb.h
intel_dsi_dcs_backlight.c drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_dsi.c
intel_dsi.h drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_dvo_dev.h
intel_dvo.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_dvo.h
intel_fbc.c drm/i915/display/fbc: Make WARN* drm specific where drm_priv ptr is available 2020-02-04 10:46:49 +02:00
intel_fbc.h drm/i915/fbc: Move the plane state check into the fbc functions 2020-01-15 17:16:32 +02:00
intel_fbdev.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_fbdev.h
intel_fifo_underrun.c drm/i915/fifo_underrun: use intel_de_*() functions for register access 2020-01-27 16:38:33 +02:00
intel_fifo_underrun.h
intel_frontbuffer.c drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
intel_frontbuffer.h drm/i915: Hold reference to intel_frontbuffer as we track activity 2019-12-18 12:09:57 +00:00
intel_global_state.c drm/i915: Introduce better global state handling 2020-01-31 17:00:44 +02:00
intel_global_state.h drm/i915: Introduce better global state handling 2020-01-31 17:00:44 +02:00
intel_gmbus.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_gmbus.h
intel_hdcp.c drm/i915/display/hdcp: Make WARN* drm specific where drm_priv ptr is available 2020-02-23 18:05:24 +02:00
intel_hdcp.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_hdmi.c drm/i915: Limit display Wa_1405510057 to gen11 2020-02-28 20:28:31 +02:00
intel_hdmi.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_hotplug.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_hotplug.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_lpe_audio.c drm/i915/display: Make WARN* drm specific where drm_device ptr is available 2020-02-04 11:00:04 +02:00
intel_lpe_audio.h
intel_lspcon.c drm/i915: Pass intel_encoder to enc_to_*() 2020-01-13 20:10:51 +02:00
intel_lspcon.h
intel_lvds.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_lvds.h
intel_opregion.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_opregion.h
intel_overlay.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_overlay.h
intel_panel.c drm/i915: Parametrize PFIT_PIPE 2020-02-20 21:50:38 +02:00
intel_panel.h
intel_pipe_crc.c drm/i915/crc: move pipe_crc from drm_i915_private to intel_crtc 2020-03-02 12:58:26 +02:00
intel_pipe_crc.h drm/i915/crc: move pipe_crc from drm_i915_private to intel_crtc 2020-03-02 12:58:26 +02:00
intel_psr.c drm/i915/psr: Force PSR probe only after full initialization 2020-02-24 10:47:19 -08:00
intel_psr.h drm/i915/psr: Force PSR probe only after full initialization 2020-02-24 10:47:19 -08:00
intel_quirks.c drm/i915/quirks: automatic conversion to drm_device based logging macros. 2020-02-04 11:13:39 +02:00
intel_quirks.h
intel_sdvo_regs.h
intel_sdvo.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_sdvo.h drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_sprite.c drm/i915: Use intel_plane_data_rate for min_cdclk calculation 2020-03-02 19:27:25 +02:00
intel_sprite.h
intel_tc.c drm/i915/tc: automatic conversion to drm_device based logging macros. 2020-02-04 11:13:31 +02:00
intel_tc.h
intel_tv.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_tv.h
intel_vbt_defs.h drm/i915/vbt: Rename BDB_LVDS_POWER to BDB_LFP_POWER 2020-01-14 12:38:59 -08:00
intel_vdsc.c drm/i915: significantly reduce the use of <drm/i915_drm.h> 2020-02-27 08:35:09 +02:00
intel_vdsc.h drm/i915/dsc: add basic hardware state readout support 2019-12-11 08:16:16 +02:00
intel_vga.c drm/i915/vga: conversion to drm_device based logging macros. 2020-02-04 11:13:20 +02:00
intel_vga.h
vlv_dsi_pll.c drm/i915/vlv_dsi_pll: conversion to struct drm_device logging macros. 2020-02-04 11:13:15 +02:00
vlv_dsi.c drm/i915/dsi: Remove readback of panel orientation on BYT / CHT 2020-03-02 14:01:42 +01:00