Lines Matching refs:crtc

80 	struct intel_crtc *crtc;  in i9xx_pipe_crc_auto_source()  local
87 if (!encoder->base.crtc) in i9xx_pipe_crc_auto_source()
90 crtc = to_intel_crtc(encoder->base.crtc); in i9xx_pipe_crc_auto_source()
92 if (crtc->pipe != pipe) in i9xx_pipe_crc_auto_source()
279 intel_crtc_crc_setup_workarounds(struct intel_crtc *crtc, bool enable) in intel_crtc_crc_setup_workarounds() argument
281 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_crc_setup_workarounds()
299 pipe_config = intel_atomic_get_crtc_state(state, crtc); in intel_crtc_crc_setup_workarounds()
309 pipe_config->hw.active && crtc->pipe == PIPE_A && in intel_crtc_crc_setup_workarounds()
437 void intel_crtc_crc_init(struct intel_crtc *crtc) in intel_crtc_crc_init() argument
439 struct intel_pipe_crc *pipe_crc = &crtc->pipe_crc; in intel_crtc_crc_init()
549 const char *const *intel_crtc_get_crc_sources(struct drm_crtc *crtc, in intel_crtc_get_crc_sources() argument
556 int intel_crtc_verify_crc_source(struct drm_crtc *crtc, const char *source_name, in intel_crtc_verify_crc_source() argument
559 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in intel_crtc_verify_crc_source()
578 struct intel_crtc *crtc = to_intel_crtc(_crtc); in intel_crtc_set_crc_source() local
579 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_set_crc_source()
580 struct intel_pipe_crc *pipe_crc = &crtc->pipe_crc; in intel_crtc_set_crc_source()
583 enum pipe pipe = crtc->pipe; in intel_crtc_set_crc_source()
604 intel_crtc_crc_setup_workarounds(crtc, true); in intel_crtc_set_crc_source()
623 intel_crtc_crc_setup_workarounds(crtc, false); in intel_crtc_set_crc_source()
630 void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_enable_pipe_crc() argument
632 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_enable_pipe_crc()
633 struct intel_pipe_crc *pipe_crc = &crtc->pipe_crc; in intel_crtc_enable_pipe_crc()
634 enum pipe pipe = crtc->pipe; in intel_crtc_enable_pipe_crc()
637 if (!crtc->base.crc.opened) in intel_crtc_enable_pipe_crc()
650 void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_disable_pipe_crc() argument
652 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_disable_pipe_crc()
653 struct intel_pipe_crc *pipe_crc = &crtc->pipe_crc; in intel_crtc_disable_pipe_crc()
654 enum pipe pipe = crtc->pipe; in intel_crtc_disable_pipe_crc()