Name

struct drm_mode_set — new values for a CRTC config change

Synopsis

struct drm_mode_set {
  struct drm_framebuffer * fb;
  struct drm_crtc * crtc;
  struct drm_display_mode * mode;
  uint32_t x;
  uint32_t y;
  struct drm_connector ** connectors;
  size_t num_connectors;
};  

Members

fb

framebuffer to use for new config

crtc

CRTC whose configuration we're about to change

mode

mode timings to use

x

position of this CRTC relative to fb

y

position of this CRTC relative to fb

connectors

array of connectors to drive with this CRTC if possible

num_connectors

size of connectors array

Description

Represents a single crtc the connectors that it drives with what mode and from which framebuffer it scans out from.

This is used to set modes.