Lines Matching defs:encoder
928 * drm_atomic_get_old_connector_for_encoder - Get old connector for an encoder
930 * @encoder: The encoder to fetch the connector state for
932 * This function finds and returns the connector that was connected to @encoder
935 * If there is no connector in @state which previously had @encoder connected to
938 * connectors attached to @encoder vs ones that did (and to inspect their
942 * Returns: The old connector connected to @encoder, or NULL if the encoder is
947 struct drm_encoder *encoder)
954 if (conn_state->best_encoder == encoder)
963 * drm_atomic_get_new_connector_for_encoder - Get new connector for an encoder
965 * @encoder: The encoder to fetch the connector state for
968 * @encoder as specified by the @state.
970 * If there is no connector in @state which will have @encoder connected to it,
973 * attached to @encoder vs ones that do (and to inspect their state). This is
976 * Returns: The new connector connected to @encoder, or NULL if the encoder is
981 struct drm_encoder *encoder)
988 if (conn_state->best_encoder == encoder)
997 * drm_atomic_get_old_crtc_for_encoder - Get old crtc for an encoder
999 * @encoder: The encoder to fetch the crtc state for
1001 * This function finds and returns the crtc that was connected to @encoder
1004 * Returns: The old crtc connected to @encoder, or NULL if the encoder is
1009 struct drm_encoder *encoder)
1014 connector = drm_atomic_get_old_connector_for_encoder(state, encoder);
1027 * drm_atomic_get_new_crtc_for_encoder - Get new crtc for an encoder
1029 * @encoder: The encoder to fetch the crtc state for
1031 * This function finds and returns the crtc that will be connected to @encoder
1034 * Returns: The new crtc connected to @encoder, or NULL if the encoder is
1039 struct drm_encoder *encoder)
1044 connector = drm_atomic_get_new_connector_for_encoder(state, encoder);
1227 * drm_atomic_add_encoder_bridges - add bridges attached to an encoder
1229 * @encoder: DRM encoder
1231 * This function adds all bridges attached to @encoder. This is needed to add
1244 struct drm_encoder *encoder)
1249 if (!encoder)
1252 drm_dbg_atomic(encoder->dev,
1253 "Adding all bridges for [encoder:%d:%s] to %p\n",
1254 encoder->base.id, encoder->name, state);
1256 drm_for_each_bridge_in_chain(encoder, bridge) {