Linux Kernel
3.7.1
|
#include <drm_encoder_slave.h>
Data Fields | |
void(* | set_config )(struct drm_encoder *encoder, void *params) |
void(* | destroy )(struct drm_encoder *encoder) |
void(* | dpms )(struct drm_encoder *encoder, int mode) |
void(* | save )(struct drm_encoder *encoder) |
void(* | restore )(struct drm_encoder *encoder) |
bool(* | mode_fixup )(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) |
int(* | mode_valid )(struct drm_encoder *encoder, struct drm_display_mode *mode) |
void(* | mode_set )(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) |
enum drm_connector_status(* | detect )(struct drm_encoder *encoder, struct drm_connector *connector) |
int(* | get_modes )(struct drm_encoder *encoder, struct drm_connector *connector) |
int(* | create_resources )(struct drm_encoder *encoder, struct drm_connector *connector) |
int(* | set_property )(struct drm_encoder *encoder, struct drm_connector *connector, struct drm_property *property, uint64_t val) |
struct drm_encoder_slave_funcs - Entry points exposed by a slave encoder driver : Initialize any encoder-specific modesetting parameters. The meaning of the parameter is implementation dependent. It will usually be a structure with DVO port data format settings or timings. It's not required for the new parameters to take effect until the next mode is set.
Most of its members are analogous to the function pointers in &drm_encoder_helper_funcs and they can optionally be used to initialize the latter. Connector-like methods (e.g. and ) will typically be wrapped around and only be called if the encoder is the currently selected one for the connector.
Definition at line 48 of file drm_encoder_slave.h.
int(* create_resources)(struct drm_encoder *encoder, struct drm_connector *connector) |
Definition at line 69 of file drm_encoder_slave.h.
void(* destroy)(struct drm_encoder *encoder) |
Definition at line 52 of file drm_encoder_slave.h.
enum drm_connector_status(* detect)(struct drm_encoder *encoder, struct drm_connector *connector) |
Definition at line 65 of file drm_encoder_slave.h.
void(* dpms)(struct drm_encoder *encoder, int mode) |
Definition at line 53 of file drm_encoder_slave.h.
int(* get_modes)(struct drm_encoder *encoder, struct drm_connector *connector) |
Definition at line 67 of file drm_encoder_slave.h.
bool(* mode_fixup)(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) |
Definition at line 56 of file drm_encoder_slave.h.
void(* mode_set)(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) |
Definition at line 61 of file drm_encoder_slave.h.
int(* mode_valid)(struct drm_encoder *encoder, struct drm_display_mode *mode) |
Definition at line 59 of file drm_encoder_slave.h.
void(* restore)(struct drm_encoder *encoder) |
Definition at line 55 of file drm_encoder_slave.h.
void(* save)(struct drm_encoder *encoder) |
Definition at line 54 of file drm_encoder_slave.h.
void(* set_config)(struct drm_encoder *encoder, void *params) |
Definition at line 49 of file drm_encoder_slave.h.
int(* set_property)(struct drm_encoder *encoder, struct drm_connector *connector, struct drm_property *property, uint64_t val) |
Definition at line 71 of file drm_encoder_slave.h.