befa372b99
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 |
||
---|---|---|
.. | ||
dvo_ch7xxx.c | ||
dvo_ch7017.c | ||
dvo_ivch.c | ||
dvo_ns2501.c | ||
dvo_sil164.c | ||
dvo_tfp410.c | ||
icl_dsi.c | ||
intel_acpi.c | ||
intel_acpi.h | ||
intel_atomic_plane.c | ||
intel_atomic_plane.h | ||
intel_atomic.c | ||
intel_atomic.h | ||
intel_audio.c | ||
intel_audio.h | ||
intel_bios.c | ||
intel_bios.h | ||
intel_bw.c | ||
intel_bw.h | ||
intel_cdclk.c | ||
intel_cdclk.h | ||
intel_color.c | ||
intel_color.h | ||
intel_combo_phy.c | ||
intel_combo_phy.h | ||
intel_connector.c | ||
intel_connector.h | ||
intel_crt.c | ||
intel_crt.h | ||
intel_ddi.c | ||
intel_ddi.h | ||
intel_display_power.c | ||
intel_display_power.h | ||
intel_display.c | ||
intel_display.h | ||
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 | ||
intel_dp.c | ||
intel_dp.h | ||
intel_dpio_phy.c | ||
intel_dpio_phy.h | ||
intel_dpll_mgr.c | ||
intel_dpll_mgr.h | ||
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 | ||
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 | ||
intel_overlay.h | ||
intel_panel.c | ||
intel_panel.h | ||
intel_pipe_crc.c | ||
intel_pipe_crc.h | ||
intel_psr.c | ||
intel_psr.h | ||
intel_quirks.c | ||
intel_quirks.h | ||
intel_sdvo_regs.h | ||
intel_sdvo.c | ||
intel_sdvo.h | ||
intel_sprite.c | ||
intel_sprite.h | ||
intel_tc.c | ||
intel_tc.h | ||
intel_tv.c | ||
intel_tv.h | ||
intel_vbt_defs.h | ||
intel_vdsc.c | ||
intel_vdsc.h | ||
Makefile | ||
Makefile.header-test | ||
vlv_dsi_pll.c | ||
vlv_dsi.c |