Lines Matching refs:crtc

61 	struct intel_crtc *crtc;  in ivb_can_enable_err_int()  local
67 crtc = intel_crtc_for_pipe(dev_priv, pipe); in ivb_can_enable_err_int()
69 if (crtc->cpu_fifo_underrun_disabled) in ivb_can_enable_err_int()
80 struct intel_crtc *crtc; in cpt_can_enable_serr_int() local
85 crtc = intel_crtc_for_pipe(dev_priv, pipe); in cpt_can_enable_serr_int()
87 if (crtc->pch_fifo_underrun_disabled) in cpt_can_enable_serr_int()
94 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc) in i9xx_check_fifo_underruns() argument
96 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in i9xx_check_fifo_underruns()
97 i915_reg_t reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns()
105 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
109 trace_intel_cpu_fifo_underrun(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
110 drm_err(&dev_priv->drm, "pipe %c underrun\n", pipe_name(crtc->pipe)); in i9xx_check_fifo_underruns()
148 static void ivb_check_fifo_underruns(struct intel_crtc *crtc) in ivb_check_fifo_underruns() argument
150 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ivb_check_fifo_underruns()
151 enum pipe pipe = crtc->pipe; in ivb_check_fifo_underruns()
235 static void cpt_check_pch_fifo_underruns(struct intel_crtc *crtc) in cpt_check_pch_fifo_underruns() argument
237 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in cpt_check_pch_fifo_underruns()
238 enum pipe pch_transcoder = crtc->pipe; in cpt_check_pch_fifo_underruns()
285 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in __intel_set_cpu_fifo_underrun_reporting() local
290 old = !crtc->cpu_fifo_underrun_disabled; in __intel_set_cpu_fifo_underrun_reporting()
291 crtc->cpu_fifo_underrun_disabled = !enable; in __intel_set_cpu_fifo_underrun_reporting()
353 struct intel_crtc *crtc = in intel_set_pch_fifo_underrun_reporting() local
369 old = !crtc->pch_fifo_underrun_disabled; in intel_set_pch_fifo_underrun_reporting()
370 crtc->pch_fifo_underrun_disabled = !enable; in intel_set_pch_fifo_underrun_reporting()
397 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in intel_cpu_fifo_underrun_irq_handler() local
401 if (crtc == NULL) in intel_cpu_fifo_underrun_irq_handler()
406 crtc->cpu_fifo_underrun_disabled) in intel_cpu_fifo_underrun_irq_handler()
474 struct intel_crtc *crtc; in intel_check_cpu_fifo_underruns() local
478 for_each_intel_crtc(&dev_priv->drm, crtc) { in intel_check_cpu_fifo_underruns()
479 if (crtc->cpu_fifo_underrun_disabled) in intel_check_cpu_fifo_underruns()
483 i9xx_check_fifo_underruns(crtc); in intel_check_cpu_fifo_underruns()
485 ivb_check_fifo_underruns(crtc); in intel_check_cpu_fifo_underruns()
501 struct intel_crtc *crtc; in intel_check_pch_fifo_underruns() local
505 for_each_intel_crtc(&dev_priv->drm, crtc) { in intel_check_pch_fifo_underruns()
506 if (crtc->pch_fifo_underrun_disabled) in intel_check_pch_fifo_underruns()
510 cpt_check_pch_fifo_underruns(crtc); in intel_check_pch_fifo_underruns()
517 struct intel_crtc *crtc, in intel_init_fifo_underrun_reporting() argument
520 crtc->cpu_fifo_underrun_disabled = !enable; in intel_init_fifo_underrun_reporting()
531 if (intel_has_pch_trancoder(i915, crtc->pipe)) in intel_init_fifo_underrun_reporting()
532 crtc->pch_fifo_underrun_disabled = !enable; in intel_init_fifo_underrun_reporting()