Lines Matching full:encoder

5  * High level crtc/connector/encoder modeset state verification.
35 struct intel_encoder *encoder = intel_attached_encoder(connector); in intel_connector_verify_state() local
46 if (!encoder || encoder->type == INTEL_OUTPUT_DP_MST) in intel_connector_verify_state()
49 I915_STATE_WARN(conn_state->best_encoder != &encoder->base, in intel_connector_verify_state()
50 "atomic encoder doesn't match attached encoder\n"); in intel_connector_verify_state()
52 I915_STATE_WARN(conn_state->crtc != encoder->base.crtc, in intel_connector_verify_state()
53 "attached encoder crtc differs from connector crtc\n"); in intel_connector_verify_state()
58 "best encoder set without crtc!\n"); in intel_connector_verify_state()
71 struct drm_encoder *encoder = connector->encoder; in verify_connector_state() local
82 I915_STATE_WARN(new_conn_state->best_encoder != encoder, in verify_connector_state()
83 "connector's atomic encoder doesn't match legacy encoder\n"); in verify_connector_state()
97 * Yell if the encoder disagrees. Allow for slight in intel_pipe_config_sanity_check()
101 "FDI dotclock and encoder dotclock mismatch, fdi: %i, encoder: %i\n", in intel_pipe_config_sanity_check()
109 struct intel_encoder *encoder; in verify_encoder_state() local
114 for_each_intel_encoder(&dev_priv->drm, encoder) { in verify_encoder_state()
118 drm_dbg_kms(&dev_priv->drm, "[ENCODER:%d:%s]\n", in verify_encoder_state()
119 encoder->base.base.id, in verify_encoder_state()
120 encoder->base.name); in verify_encoder_state()
124 if (old_conn_state->best_encoder == &encoder->base) in verify_encoder_state()
127 if (new_conn_state->best_encoder != &encoder->base) in verify_encoder_state()
134 encoder->base.crtc, in verify_encoder_state()
135 "connector's crtc doesn't match encoder crtc\n"); in verify_encoder_state()
141 I915_STATE_WARN(!!encoder->base.crtc != enabled, in verify_encoder_state()
142 "encoder's enabled state mismatch (expected %i, found %i)\n", in verify_encoder_state()
143 !!encoder->base.crtc, enabled); in verify_encoder_state()
145 if (!encoder->base.crtc) { in verify_encoder_state()
148 active = encoder->get_hw_state(encoder, &pipe); in verify_encoder_state()
150 "encoder detached but still enabled on pipe %c.\n", in verify_encoder_state()
163 struct intel_encoder *encoder; in verify_crtc_state() local
194 for_each_encoder_on_crtc(dev, &master_crtc->base, encoder) { in verify_crtc_state()
198 active = encoder->get_hw_state(encoder, &pipe); in verify_crtc_state()
200 "[ENCODER:%i] active %i with crtc active %i\n", in verify_crtc_state()
201 encoder->base.base.id, active, in verify_crtc_state()
205 "Encoder connected to wrong pipe %c\n", in verify_crtc_state()
209 intel_encoder_get_config(encoder, pipe_config); in verify_crtc_state()