Lines Matching defs:encoder

937  * drm_atomic_get_old_connector_for_encoder - Get old connector for an encoder
939 * @encoder: The encoder to fetch the connector state for
941 * This function finds and returns the connector that was connected to @encoder
944 * If there is no connector in @state which previously had @encoder connected to
947 * connectors attached to @encoder vs ones that did (and to inspect their
951 * Returns: The old connector connected to @encoder, or NULL if the encoder is
956 struct drm_encoder *encoder)
963 if (conn_state->best_encoder == encoder)
972 * drm_atomic_get_new_connector_for_encoder - Get new connector for an encoder
974 * @encoder: The encoder to fetch the connector state for
977 * @encoder as specified by the @state.
979 * If there is no connector in @state which will have @encoder connected to it,
982 * attached to @encoder vs ones that do (and to inspect their state). This is
985 * Returns: The new connector connected to @encoder, or NULL if the encoder is
990 struct drm_encoder *encoder)
997 if (conn_state->best_encoder == encoder)
1006 * drm_atomic_get_old_crtc_for_encoder - Get old crtc for an encoder
1008 * @encoder: The encoder to fetch the crtc state for
1010 * This function finds and returns the crtc that was connected to @encoder
1013 * Returns: The old crtc connected to @encoder, or NULL if the encoder is
1018 struct drm_encoder *encoder)
1023 connector = drm_atomic_get_old_connector_for_encoder(state, encoder);
1036 * drm_atomic_get_new_crtc_for_encoder - Get new crtc for an encoder
1038 * @encoder: The encoder to fetch the crtc state for
1040 * This function finds and returns the crtc that will be connected to @encoder
1043 * Returns: The new crtc connected to @encoder, or NULL if the encoder is
1048 struct drm_encoder *encoder)
1053 connector = drm_atomic_get_new_connector_for_encoder(state, encoder);
1246 * drm_atomic_add_encoder_bridges - add bridges attached to an encoder
1248 * @encoder: DRM encoder
1250 * This function adds all bridges attached to @encoder. This is needed to add
1263 struct drm_encoder *encoder)
1268 if (!encoder)
1271 drm_dbg_atomic(encoder->dev,
1272 "Adding all bridges for [encoder:%d:%s] to %p\n",
1273 encoder->base.id, encoder->name, state);
1275 drm_for_each_bridge_in_chain(encoder, bridge) {