Lines Matching refs:intel_crtc

173 	struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
190 FDI_DP_PORT_WIDTH(intel_crtc->config.fdi_lanes);
200 I915_WRITE(PORT_CLK_SEL(PORT_E), intel_crtc->ddi_pll_sel);
218 ((intel_crtc->config.fdi_lanes - 1) << 1) |
292 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
295 int pipe = intel_crtc->pipe;
301 intel_crtc->eld_vld = false;
313 pipe_name(intel_crtc->pipe));
331 pipe_name(intel_crtc->pipe));
346 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
357 pipe_name(intel_crtc->pipe));
368 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
371 switch (intel_crtc->ddi_pll_sel) {
411 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_NONE;
636 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
642 enum pipe pipe = intel_crtc->pipe;
644 int clock = intel_crtc->config.port_clock;
655 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_LCPLL_810;
658 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_LCPLL_1350;
661 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_LCPLL_2700;
680 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_WRPLL1;
686 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_WRPLL2;
707 intel_crtc->ddi_pll_sel = PORT_CLK_SEL_SPLL;
733 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
735 enum transcoder cpu_transcoder = intel_crtc->config.cpu_transcoder;
742 switch (intel_crtc->config.pipe_bpp) {
764 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
768 enum pipe pipe = intel_crtc->pipe;
769 enum transcoder cpu_transcoder = intel_crtc->config.cpu_transcoder;
778 switch (intel_crtc->config.pipe_bpp) {
806 if (intel_crtc->config.pch_pfit.size)
833 temp |= (intel_crtc->config.fdi_lanes - 1) << 1;
987 struct intel_crtc *intel_crtc;
990 intel_crtc =
993 if (!intel_crtc->active)
996 intel_crtc->ddi_pll_sel = intel_ddi_get_crtc_pll(dev_priv,
999 switch (intel_crtc->ddi_pll_sel) {
1013 void intel_ddi_enable_pipe_clock(struct intel_crtc *intel_crtc)
1015 struct drm_crtc *crtc = &intel_crtc->base;
1019 enum transcoder cpu_transcoder = intel_crtc->config.cpu_transcoder;
1026 void intel_ddi_disable_pipe_clock(struct intel_crtc *intel_crtc)
1028 struct drm_i915_private *dev_priv = intel_crtc->base.dev->dev_private;
1029 enum transcoder cpu_transcoder = intel_crtc->config.cpu_transcoder;
1041 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
1052 WARN_ON(intel_crtc->ddi_pll_sel == PORT_CLK_SEL_NONE);
1053 I915_WRITE(PORT_CLK_SEL(port), intel_crtc->ddi_pll_sel);
1103 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
1104 int pipe = intel_crtc->pipe;
1131 if (intel_crtc->eld_vld && type != INTEL_OUTPUT_EDP) {
1142 struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
1143 int pipe = intel_crtc->pipe;
1149 if (intel_crtc->eld_vld && type != INTEL_OUTPUT_EDP) {
1276 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc);
1277 enum transcoder cpu_transcoder = intel_crtc->config.cpu_transcoder;