struct drm_connector_funcs — control connectors on a given device
struct drm_connector_funcs { void (* dpms) (struct drm_connector *connector, int mode); void (* save) (struct drm_connector *connector); void (* restore) (struct drm_connector *connector); void (* reset) (struct drm_connector *connector); enum drm_connector_status (* detect) (struct drm_connector *connector,bool force); int (* fill_modes) (struct drm_connector *connector, uint32_t max_width, uint32_t max_height); int (* set_property) (struct drm_connector *connector, struct drm_property *property,uint64_t val); void (* destroy) (struct drm_connector *connector); void (* force) (struct drm_connector *connector); struct drm_connector_state *(* atomic_duplicate_state) (struct drm_connector *connector); void (* atomic_destroy_state) (struct drm_connector *connector,struct drm_connector_state *state); int (* atomic_set_property) (struct drm_connector *connector,struct drm_connector_state *state,struct drm_property *property,uint64_t val); int (* atomic_get_property) (struct drm_connector *connector,const struct drm_connector_state *state,struct drm_property *property,uint64_t *val); };
set power state
save connector state
restore connector state
reset connector after state has been invalidated (e.g. resume)
is this connector active?
fill mode list for this connector
property for this connector may need an update
make object go away
notify the driver that the connector is forced on
duplicate the atomic state for this connector
destroy an atomic state for this connector
set a property on an atomic state for this connector
(do not call directly, use drm_atomic_connector_set_property
)
get a property on an atomic state for this connector
(do not call directly, use drm_atomic_connector_get_property
)