STRUCT DRM_CONNECTOR(9)

NAME
struct_drm_connector_funcs - control connectors on a given device

SYNOPSIS

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);
};

MEMBERS

dpms
    set power state (see drm_crtc_funcs above)

save
    save connector state

restore
    restore connector state

reset
    reset connector after state has been invalidated (e.g. resume)

detect
    is this connector active?

fill_modes
    fill mode list for this connector

set_property
    property for this connector may need an update

destroy
    make object go away

force
    notify the driver that the connector is forced on

atomic_duplicate_state
    duplicate the atomic state for this connector

atomic_destroy_state
    destroy an atomic state for this connector

atomic_set_property
    set a property on an atomic state for this connector

DESCRIPTION

Each CRTC may have one or more connectors attached to it. The functions below allow the core DRM code to control connectors, enumerate available modes, etc.

AUTHORS

Jesse Barnes <jesse.barnes@intel.com>
Intel Corporation,

    Initial version

Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Ideas on board SPRL,

    Driver internals

Daniel Vetter <daniel.vetter@ffwll.ch>
Intel Corporation,

    Contributions all over the place

COPYRIGHT