Lines Matching defs:encoder
869 * drm_atomic_get_old_connector_for_encoder - Get old connector for an encoder
871 * @encoder: The encoder to fetch the connector state for
873 * This function finds and returns the connector that was connected to @encoder
876 * If there is no connector in @state which previously had @encoder connected to
879 * connectors attached to @encoder vs ones that did (and to inspect their
883 * Returns: The old connector connected to @encoder, or NULL if the encoder is
888 struct drm_encoder *encoder)
895 if (conn_state->best_encoder == encoder)
904 * drm_atomic_get_new_connector_for_encoder - Get new connector for an encoder
906 * @encoder: The encoder to fetch the connector state for
909 * @encoder as specified by the @state.
911 * If there is no connector in @state which will have @encoder connected to it,
914 * attached to @encoder vs ones that do (and to inspect their state). This is
917 * Returns: The new connector connected to @encoder, or NULL if the encoder is
922 struct drm_encoder *encoder)
929 if (conn_state->best_encoder == encoder)
1106 * drm_atomic_add_encoder_bridges - add bridges attached to an encoder
1108 * @encoder: DRM encoder
1110 * This function adds all bridges attached to @encoder. This is needed to add
1123 struct drm_encoder *encoder)
1128 if (!encoder)
1131 DRM_DEBUG_ATOMIC("Adding all bridges for [encoder:%d:%s] to %p\n",
1132 encoder->base.id, encoder->name, state);
1134 drm_for_each_bridge_in_chain(encoder, bridge) {