Lines Matching refs:encoder

408 	 * enabled through the encoder's own &drm_encoder_helper_funcs.enable
523 * Callback to control power levels on the encoder. If the mode passed in
525 * This is used by the legacy encoder helpers to implement DPMS
528 * This callback is also used to disable an encoder by calling it with
532 * also support using this hook for enabling and disabling an encoder to
536 void (*dpms)(struct drm_encoder *encoder, int mode);
542 * encoder. This should be implemented if the encoder has some sort
544 * encoder may be responsible to set a clock value. If the clock can
578 * The parameter adjusted_mode is the input mode the encoder requires. It
604 * that modes are filtered consistently put any encoder constraints and
612 bool (*mode_fixup)(struct drm_encoder *encoder,
619 * This callback should prepare the encoder for a subsequent modeset,
620 * which in practice means the driver should disable the encoder if it
625 * also support using this hook for disabling an encoder to facilitate
629 void (*prepare)(struct drm_encoder *encoder);
634 * This callback should commit the new mode on the encoder after a modeset,
635 * which in practice means the driver should enable the encoder. Most
640 * also support using this hook for enabling an encoder to facilitate
644 void (*commit)(struct drm_encoder *encoder);
649 * This callback is used to update the display mode of an encoder.
657 * encoder setup into the @enable callback.
668 void (*mode_set)(struct drm_encoder *encoder,
675 * This callback is used to update the display mode of an encoder.
683 * encoder setup into the @enable callback.
689 * go from the encoder to the current connector.
691 void (*atomic_mode_set)(struct drm_encoder *encoder,
699 * encoder object instead of in connector functions.
710 enum drm_connector_status (*detect)(struct drm_encoder *encoder,
716 * This callback should be used to disable the encoder. With the atomic
717 * drivers it is called before this encoder's CRTC has been shut off
720 * encoder hooks and call them from CRTC's callback by looping over all
728 * to implement it if there's no need to disable anything at the encoder
733 void (*atomic_disable)(struct drm_encoder *encoder,
739 * This callback should be used to enable the encoder. It is called
740 * after this encoder's CRTC has been enabled using their own
742 * too simple drivers can just add their own driver private encoder
752 * no need to enable anything at the encoder level. To ensure that
756 void (*atomic_enable)(struct drm_encoder *encoder,
762 * This callback should be used to disable the encoder. With the atomic
763 * drivers it is called before this encoder's CRTC has been shut off
766 * encoder hooks and call them from CRTC's callback by looping over all
771 * disable anything at the encoder level. To ensure that runtime PM
782 * encoder: @disable is only called when also logically disabling the
790 void (*disable)(struct drm_encoder *encoder);
795 * This callback should be used to enable the encoder. With the atomic
796 * drivers it is called after this encoder's CRTC has been enabled using
798 * too simple drivers can just add their own driver private encoder
804 * need to enable anything at the encoder level. To ensure that
808 void (*enable)(struct drm_encoder *encoder);
813 * This callback is used to validate encoder state for atomic drivers.
814 * Since the encoder is the object connecting the CRTC and connector it
816 * update the CRTC to match what the encoder needs for the requested
836 * that modes are filtered consistently put any encoder constraints and
846 int (*atomic_check)(struct drm_encoder *encoder,
852 * drm_encoder_helper_add - sets the helper vtable for an encoder
853 * @encoder: DRM encoder
854 * @funcs: helper vtable to set for @encoder
856 static inline void drm_encoder_helper_add(struct drm_encoder *encoder,
859 encoder->helper_private = funcs;
1016 * This function should select the best encoder for the given connector.
1031 * attached to a single encoder. In this case, the core will call
1037 * state, or NULL if no suitable encoder exists. Note that the helpers
1047 * need to select the best encoder depending upon the desired
1064 * state, or NULL if no suitable encoder exists. Note that the helpers