struct drm_mode_config_funcs
Prev | KMS Data Structures | Next

## 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);
      struct drm_atomic_state *(* atomic_state_alloc) (struct drm_device *dev);
      void (* atomic_state_clear) (struct drm_atomic_state *state);
      void (* atomic_state_free) (struct drm_atomic_state *state);
    };

## 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`

atomic_state_alloc

  allocate a new atomic state

atomic_state_clear

  clear the atomic state

atomic_state_free

  free the atomic state

## Description

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

Prev | Up | Next
struct drm_mode_set | Home | struct drm_mode_config