Lines Matching refs:encoder
409 * enabled through the encoder's own &drm_encoder_helper_funcs.enable
515 * Callback to control power levels on the encoder. If the mode passed in
517 * This is used by the legacy encoder helpers to implement DPMS
520 * This callback is also used to disable an encoder by calling it with
524 * also support using this hook for enabling and disabling an encoder to
528 void (*dpms)(struct drm_encoder *encoder, int mode);
534 * encoder. This should be implemented if the encoder has some sort
536 * encoder may be responsible to set a clock value. If the clock can
570 * The parameter adjusted_mode is the input mode the encoder requires. It
596 * that modes are filtered consistently put any encoder constraints and
604 bool (*mode_fixup)(struct drm_encoder *encoder,
611 * This callback should prepare the encoder for a subsequent modeset,
612 * which in practice means the driver should disable the encoder if it
617 * also support using this hook for disabling an encoder to facilitate
621 void (*prepare)(struct drm_encoder *encoder);
626 * This callback should commit the new mode on the encoder after a modeset,
627 * which in practice means the driver should enable the encoder. Most
632 * also support using this hook for enabling an encoder to facilitate
636 void (*commit)(struct drm_encoder *encoder);
641 * This callback is used to update the display mode of an encoder.
649 * encoder setup into the @enable callback.
660 void (*mode_set)(struct drm_encoder *encoder,
667 * This callback is used to update the display mode of an encoder.
675 * encoder setup into the @enable callback.
681 * go from the encoder to the current connector.
683 void (*atomic_mode_set)(struct drm_encoder *encoder,
691 * encoder object instead of in connector functions.
702 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
708 * This callback should be used to disable the encoder. With the atomic
709 * drivers it is called before this encoder's CRTC has been shut off
712 * encoder hooks and call them from CRTC's callback by looping over all
720 * to implement it if there's no need to disable anything at the encoder
725 void (*atomic_disable)(struct drm_encoder *encoder,
731 * This callback should be used to enable the encoder. It is called
732 * after this encoder's CRTC has been enabled using their own
734 * too simple drivers can just add their own driver private encoder
744 * no need to enable anything at the encoder level. To ensure that
748 void (*atomic_enable)(struct drm_encoder *encoder,
754 * This callback should be used to disable the encoder. With the atomic
755 * drivers it is called before this encoder's CRTC has been shut off
758 * encoder hooks and call them from CRTC's callback by looping over all
763 * disable anything at the encoder level. To ensure that runtime PM
774 * encoder: @disable is only called when also logically disabling the
782 void (*disable)(struct drm_encoder *encoder);
787 * This callback should be used to enable the encoder. With the atomic
788 * drivers it is called after this encoder's CRTC has been enabled using
790 * too simple drivers can just add their own driver private encoder
796 * need to enable anything at the encoder level. To ensure that
800 void (*enable)(struct drm_encoder *encoder);
805 * This callback is used to validate encoder state for atomic drivers.
806 * Since the encoder is the object connecting the CRTC and connector it
808 * update the CRTC to match what the encoder needs for the requested
828 * that modes are filtered consistently put any encoder constraints and
838 int (*atomic_check)(struct drm_encoder *encoder,
844 * drm_encoder_helper_add - sets the helper vtable for an encoder
845 * @encoder: DRM encoder
846 * @funcs: helper vtable to set for @encoder
848 static inline void drm_encoder_helper_add(struct drm_encoder *encoder,
851 encoder->helper_private = funcs;
1014 * This function should select the best encoder for the given connector.
1029 * attached to a single encoder. In this case, the core will call
1035 * state, or NULL if no suitable encoder exists. Note that the helpers
1045 * need to select the best encoder depending upon the desired
1061 * state, or NULL if no suitable encoder exists. Note that the helpers