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()
100 * Yell if the encoder disagrees. Allow for slight in intel_pipe_config_sanity_check()
104 "FDI dotclock and encoder dotclock mismatch, fdi: %i, encoder: %i\n", in intel_pipe_config_sanity_check()
113 struct intel_encoder *encoder; in verify_encoder_state() local
118 for_each_intel_encoder(&i915->drm, encoder) { in verify_encoder_state()
122 drm_dbg_kms(&i915->drm, "[ENCODER:%d:%s]\n", in verify_encoder_state()
123 encoder->base.base.id, in verify_encoder_state()
124 encoder->base.name); in verify_encoder_state()
128 if (old_conn_state->best_encoder == &encoder->base) in verify_encoder_state()
131 if (new_conn_state->best_encoder != &encoder->base) in verify_encoder_state()
138 new_conn_state->crtc != encoder->base.crtc, in verify_encoder_state()
139 "connector's crtc doesn't match encoder crtc\n"); in verify_encoder_state()
145 I915_STATE_WARN(i915, !!encoder->base.crtc != enabled, in verify_encoder_state()
146 "encoder's enabled state mismatch (expected %i, found %i)\n", in verify_encoder_state()
147 !!encoder->base.crtc, enabled); in verify_encoder_state()
149 if (!encoder->base.crtc) { in verify_encoder_state()
152 active = encoder->get_hw_state(encoder, &pipe); in verify_encoder_state()
154 "encoder detached but still enabled on pipe %c.\n", in verify_encoder_state()
170 struct intel_encoder *encoder; in verify_crtc_state() local
198 for_each_encoder_on_crtc(dev, &primary_crtc->base, encoder) { in verify_crtc_state()
202 active = encoder->get_hw_state(encoder, &pipe); in verify_crtc_state()
204 "[ENCODER:%i] active %i with crtc active %i\n", in verify_crtc_state()
205 encoder->base.base.id, active, in verify_crtc_state()
209 "Encoder connected to wrong pipe %c\n", in verify_crtc_state()
213 intel_encoder_get_config(encoder, hw_crtc_state); in verify_crtc_state()