linux/drivers/gpu/drm/i915/display
Matt Roper befa372b99 drm/i915/gen11: Program ICL_DPCLKA_CFGCR0 according to PHY
Although the register name implies that it operates on DDI's,
DPCLKA_CFGCR0_ICL actually needs to be programmed according to the PHY
that's in use.  I.e., when using EHL's DDI-D on combo PHY A, the bits
described as "port A" in the bspec are what we need to set.  The bspec
clarifies:

        "[For EHL] DDID clock tied to DDIA clock, so DPCLKA_CFGCR0 DDIA
        Clock Select chooses the PLL for both DDIA and DDID and drives
        port A in all cases."

Also, since the CNL DPCLKA_CFGCR0 bit defines are still port-based, we
create separate ICL-specific defines that accept the PHY rather than
trying to share the same bit definitions between CNL and ICL.

v5: Make icl_dpclka_cfgcr0_clk_off() take phy rather than port.  When
    splitting the original patch the hunk to handle this wound up too
    late in the series.  (Sparse)

v6: Since we're already changing this code,
    s/DPCLKA_CFGCR0_ICL/ICL_DPCLKA_CFGCR0/ for consistency.  (Jose)

Bspec: 33148
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190709183934.445-3-matthew.d.roper@intel.com
2019-07-10 18:22:26 -07:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
icl_dsi.c drm/i915/gen11: Program ICL_DPCLKA_CFGCR0 according to PHY 2019-07-10 18:22:26 -07:00
intel_acpi.c
intel_acpi.h
intel_atomic_plane.c drm/i915: Pass intel state to plane functions as well 2019-07-01 10:32:45 +02:00
intel_atomic_plane.h drm/i915: Pass intel state to plane functions as well 2019-07-01 10:32:45 +02:00
intel_atomic.c
intel_atomic.h
intel_audio.c drm/i915: Add N & CTS values for 10/12 bit deep color 2019-07-03 21:38:22 +03:00
intel_audio.h
intel_bios.c
intel_bios.h
intel_bw.c drm/i915: Deal with machines that expose less than three QGV points 2019-07-03 21:30:20 +03:00
intel_bw.h
intel_cdclk.c drm/i915/ehl: Add voltage level requirement table 2019-06-26 12:01:54 -07:00
intel_cdclk.h
intel_color.c
intel_color.h
intel_combo_phy.c drm/i915/ehl: Don't program PHY_MISC on EHL PHY C 2019-07-01 08:28:15 -07:00
intel_combo_phy.h
intel_connector.c
intel_connector.h
intel_crt.c
intel_crt.h
intel_ddi.c drm/i915/gen11: Program ICL_DPCLKA_CFGCR0 according to PHY 2019-07-10 18:22:26 -07:00
intel_ddi.h
intel_display_power.c drm/i915/ehl: Add support for DPLL4 (v10) 2019-07-05 13:19:01 +03:00
intel_display_power.h drm/i915/ehl: Add support for DPLL4 (v10) 2019-07-05 13:19:01 +03:00
intel_display.c drm/i915/gen11: Program ICL_DPCLKA_CFGCR0 according to PHY 2019-07-10 18:22:26 -07:00
intel_display.h drm/i915/gen11: Start distinguishing 'phy' from 'port' 2019-07-10 18:22:21 -07:00
intel_dp_aux_backlight.c
intel_dp_aux_backlight.h
intel_dp_link_training.c
intel_dp_link_training.h
intel_dp_mst.c
intel_dp_mst.h drm/i915: Fix the TypeC port mode sanitization during loading/resume 2019-07-01 14:50:25 +03:00
intel_dp.c drm/i915: Remove set but not used variable 'encoder' 2019-07-05 15:37:43 +03:00
intel_dp.h drm/i915: Move the TypeC port handling code to a separate file 2019-07-01 14:48:46 +03:00
intel_dpio_phy.c
intel_dpio_phy.h
intel_dpll_mgr.c drm/i915/icl: Clear the shared port PLLs from the new crtc state 2019-07-09 18:48:57 +03:00
intel_dpll_mgr.h drm/i915/ehl: Add support for DPLL4 (v10) 2019-07-05 13:19:01 +03:00
intel_dsi_dcs_backlight.c
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c
intel_dsi.c
intel_dsi.h
intel_dvo_dev.h
intel_dvo.c
intel_dvo.h
intel_fbc.c
intel_fbc.h
intel_fbdev.c
intel_fbdev.h
intel_fifo_underrun.c
intel_fifo_underrun.h
intel_frontbuffer.c
intel_frontbuffer.h
intel_gmbus.c
intel_gmbus.h
intel_hdcp.c drm/i915/hdcp: debug logs for sink related failures 2019-07-09 16:34:46 +05:30
intel_hdcp.h
intel_hdmi.c
intel_hdmi.h
intel_hotplug.c
intel_hotplug.h
intel_lpe_audio.c
intel_lpe_audio.h
intel_lspcon.c
intel_lspcon.h
intel_lvds.c
intel_lvds.h
intel_opregion.c
intel_opregion.h
intel_overlay.c drm/i915/overlay: Stash the kernel context on initialisation 2019-07-04 22:54:59 +01:00
intel_overlay.h
intel_panel.c
intel_panel.h
intel_pipe_crc.c drm/i915: synchronize_irq() against the actual irq 2019-07-03 10:07:13 +01:00
intel_pipe_crc.h
intel_psr.c
intel_psr.h
intel_quirks.c
intel_quirks.h
intel_sdvo_regs.h
intel_sdvo.c Merge drm/drm-next into drm-intel-next-queued 2019-07-10 06:51:35 -07:00
intel_sdvo.h
intel_sprite.c drm/i915/icl: Fixed Input CSC Co-efficients for BT601/709 2019-07-10 15:38:17 +03:00
intel_sprite.h
intel_tc.c drm/i915: move intel_ddi_set_fia_lane_count to intel_tc.c 2019-07-10 10:30:18 -07:00
intel_tc.h drm/i915: move intel_ddi_set_fia_lane_count to intel_tc.c 2019-07-10 10:30:18 -07:00
intel_tv.c
intel_tv.h
intel_vbt_defs.h
intel_vdsc.c
intel_vdsc.h
Makefile drm/i915: add header search path to subdir Makefiles 2019-06-27 10:25:48 +03:00
Makefile.header-test
vlv_dsi_pll.c
vlv_dsi.c drm/i915: Add icl mipi dsi properties 2019-07-09 17:29:58 +03:00