Name

struct drm_mode_config_funcs — basic driver provided mode setting functions

Synopsis

struct drm_mode_config_funcs {
  struct drm_framebuffer *(* fb_create) (struct drm_device *dev,struct drm_file *file_priv,struct drm_mode_fb_cmd2 *mode_cmd);
  void (* output_poll_changed) (struct drm_device *dev);
  int (* atomic_check) (struct drm_device *dev,struct drm_atomic_state *a);
  int (* atomic_commit) (struct drm_device *dev,struct drm_atomic_state *a,bool async);
};  

Members

fb_create

create a new framebuffer object

output_poll_changed

function to handle output configuration changes

atomic_check

check whether a given atomic state update is possible

atomic_commit

commit an atomic state update previously verified with atomic_check

Description

Some global (i.e. not per-CRTC, connector, etc) mode setting functions that involve drivers.