Lines Matching refs:crtc
27 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) in intel_crtc_pch_transcoder() argument
29 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_pch_transcoder()
34 return crtc->pipe; in intel_crtc_pch_transcoder()
174 static void intel_pch_transcoder_set_m1_n1(struct intel_crtc *crtc, in intel_pch_transcoder_set_m1_n1() argument
177 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_set_m1_n1()
178 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_set_m1_n1()
185 static void intel_pch_transcoder_set_m2_n2(struct intel_crtc *crtc, in intel_pch_transcoder_set_m2_n2() argument
188 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_set_m2_n2()
189 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_set_m2_n2()
196 void intel_pch_transcoder_get_m1_n1(struct intel_crtc *crtc, in intel_pch_transcoder_get_m1_n1() argument
199 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_get_m1_n1()
200 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_get_m1_n1()
207 void intel_pch_transcoder_get_m2_n2(struct intel_crtc *crtc, in intel_pch_transcoder_get_m2_n2() argument
210 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_get_m2_n2()
211 enum pipe pipe = crtc->pipe; in intel_pch_transcoder_get_m2_n2()
221 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_pch_transcoder_set_timings() local
222 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_pch_transcoder_set_timings()
244 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_enable_pch_transcoder() local
245 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_enable_pch_transcoder()
246 enum pipe pipe = crtc->pipe; in ilk_enable_pch_transcoder()
309 static void ilk_disable_pch_transcoder(struct intel_crtc *crtc) in ilk_disable_pch_transcoder() argument
311 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_disable_pch_transcoder()
312 enum pipe pipe = crtc->pipe; in ilk_disable_pch_transcoder()
336 struct intel_crtc *crtc) in ilk_pch_pre_enable() argument
339 intel_atomic_get_new_crtc_state(state, crtc); in ilk_pch_pre_enable()
358 struct intel_crtc *crtc) in ilk_pch_enable() argument
360 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_pch_enable()
362 intel_atomic_get_new_crtc_state(state, crtc); in ilk_pch_enable()
363 enum pipe pipe = crtc->pipe; in ilk_pch_enable()
369 intel_fdi_link_train(crtc, crtc_state); in ilk_pch_enable()
403 intel_pch_transcoder_set_m1_n1(crtc, &crtc_state->dp_m_n); in ilk_pch_enable()
404 intel_pch_transcoder_set_m2_n2(crtc, &crtc_state->dp_m2_n2); in ilk_pch_enable()
408 intel_fdi_normal_train(crtc); in ilk_pch_enable()
443 struct intel_crtc *crtc) in ilk_pch_disable() argument
445 ilk_fdi_disable(crtc); in ilk_pch_disable()
449 struct intel_crtc *crtc) in ilk_pch_post_disable() argument
451 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_pch_post_disable()
452 enum pipe pipe = crtc->pipe; in ilk_pch_post_disable()
454 ilk_disable_pch_transcoder(crtc); in ilk_pch_post_disable()
467 ilk_fdi_pll_disable(crtc); in ilk_pch_post_disable()
472 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_pch_clock_get() local
473 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_pch_clock_get()
476 i9xx_crtc_clock_get(crtc, crtc_state); in ilk_pch_clock_get()
490 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_pch_get_config() local
491 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ilk_pch_get_config()
493 enum pipe pipe = crtc->pipe; in ilk_pch_get_config()
507 intel_cpu_transcoder_get_m1_n1(crtc, crtc_state->cpu_transcoder, in ilk_pch_get_config()
541 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in lpt_enable_pch_transcoder() local
542 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in lpt_enable_pch_transcoder()
585 struct intel_crtc *crtc) in lpt_pch_enable() argument
587 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in lpt_pch_enable()
589 intel_atomic_get_new_crtc_state(state, crtc); in lpt_pch_enable()
602 struct intel_crtc *crtc) in lpt_pch_disable() argument
604 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in lpt_pch_disable()
613 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in lpt_pch_get_config() local
614 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in lpt_pch_get_config()
626 intel_cpu_transcoder_get_m1_n1(crtc, crtc_state->cpu_transcoder, in lpt_pch_get_config()