Lines Matching full:encoder
5 * High level crtc/connector/encoder modeset state verification.
36 struct intel_encoder *encoder = intel_attached_encoder(connector); in intel_connector_verify_state() local
47 if (!encoder || encoder->type == INTEL_OUTPUT_DP_MST) in intel_connector_verify_state()
51 conn_state->best_encoder != &encoder->base, in intel_connector_verify_state()
52 "atomic encoder doesn't match attached encoder\n"); in intel_connector_verify_state()
54 I915_STATE_WARN(i915, conn_state->crtc != encoder->base.crtc, in intel_connector_verify_state()
55 "attached encoder crtc differs from connector crtc\n"); in intel_connector_verify_state()
60 "best encoder set without crtc!\n"); in intel_connector_verify_state()
73 struct drm_encoder *encoder = connector->encoder; in verify_connector_state() local
84 I915_STATE_WARN(to_i915(connector->dev), new_conn_state->best_encoder != encoder, in verify_connector_state()
85 "connector's atomic encoder doesn't match legacy encoder\n"); in verify_connector_state()
99 * Yell if the encoder disagrees. Allow for slight in intel_pipe_config_sanity_check()
103 "FDI dotclock and encoder dotclock mismatch, fdi: %i, encoder: %i\n", in intel_pipe_config_sanity_check()
111 struct intel_encoder *encoder; in verify_encoder_state() local
116 for_each_intel_encoder(&dev_priv->drm, encoder) { in verify_encoder_state()
120 drm_dbg_kms(&dev_priv->drm, "[ENCODER:%d:%s]\n", in verify_encoder_state()
121 encoder->base.base.id, in verify_encoder_state()
122 encoder->base.name); in verify_encoder_state()
126 if (old_conn_state->best_encoder == &encoder->base) in verify_encoder_state()
129 if (new_conn_state->best_encoder != &encoder->base) in verify_encoder_state()
136 new_conn_state->crtc != encoder->base.crtc, in verify_encoder_state()
137 "connector's crtc doesn't match encoder crtc\n"); in verify_encoder_state()
143 I915_STATE_WARN(dev_priv, !!encoder->base.crtc != enabled, in verify_encoder_state()
144 "encoder's enabled state mismatch (expected %i, found %i)\n", in verify_encoder_state()
145 !!encoder->base.crtc, enabled); in verify_encoder_state()
147 if (!encoder->base.crtc) { in verify_encoder_state()
150 active = encoder->get_hw_state(encoder, &pipe); in verify_encoder_state()
152 "encoder detached but still enabled on pipe %c.\n", in verify_encoder_state()
165 struct intel_encoder *encoder; in verify_crtc_state() local
197 for_each_encoder_on_crtc(dev, &master_crtc->base, encoder) { in verify_crtc_state()
201 active = encoder->get_hw_state(encoder, &pipe); in verify_crtc_state()
203 "[ENCODER:%i] active %i with crtc active %i\n", in verify_crtc_state()
204 encoder->base.base.id, active, in verify_crtc_state()
208 "Encoder connected to wrong pipe %c\n", in verify_crtc_state()
212 intel_encoder_get_config(encoder, pipe_config); in verify_crtc_state()