Lines Matching refs:crtc

30 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);  in intel_hdmi_prepare()  local
54 hdmi_val |= SDVO_PIPE_SEL_CPT(crtc->pipe); in intel_hdmi_prepare()
56 hdmi_val |= SDVO_PIPE_SEL_CHV(crtc->pipe); in intel_hdmi_prepare()
58 hdmi_val |= SDVO_PIPE_SEL(crtc->pipe); in intel_hdmi_prepare()
108 struct intel_crtc *crtc; in g4x_compute_has_hdmi_sink() local
113 crtc = to_intel_crtc(conn_state->crtc); in g4x_compute_has_hdmi_sink()
114 if (!crtc) in g4x_compute_has_hdmi_sink()
117 crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in g4x_compute_has_hdmi_sink()
122 return crtc == this_crtc; in g4x_compute_has_hdmi_sink()
133 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in g4x_hdmi_compute_config() local
140 crtc_state->has_hdmi_sink = g4x_compute_has_hdmi_sink(state, crtc); in g4x_hdmi_compute_config()
308 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in cpt_enable_hdmi() local
310 enum pipe pipe = crtc->pipe; in cpt_enable_hdmi()
378 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_hdmi() local
392 if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B) { in intel_disable_hdmi()
632 struct drm_crtc *crtc; in g4x_hdmi_connector_atomic_check() local
646 crtc = conn_state->crtc; in g4x_hdmi_connector_atomic_check()
647 if (!crtc) in g4x_hdmi_connector_atomic_check()
650 crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in g4x_hdmi_connector_atomic_check()
653 ret = drm_atomic_add_affected_planes(state, crtc); in g4x_hdmi_connector_atomic_check()