1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_mode_set</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux DRM Developer's Guide"><link rel="up" href="drm-kms-init.html#idp1124538092" title="KMS Data Structures"><link rel="prev" href="API-struct-drm-atomic-state.html" title="struct drm_atomic_state"><link rel="next" href="API-struct-drm-mode-config-funcs.html" title="struct drm_mode_config_funcs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct drm_mode_set</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-atomic-state.html">Prev</a>&#160;</td><th width="60%" align="center">KMS Data Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-drm-mode-config-funcs.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-mode-set"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_mode_set &#8212; 
2     new values for a CRTC config change
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_mode_set {
5  struct drm_framebuffer * fb;
6  struct drm_crtc * crtc;
7  struct drm_display_mode * mode;
8  uint32_t x;
9  uint32_t y;
10  struct drm_connector ** connectors;
11  size_t num_connectors;
12};  </pre></div><div class="refsect1"><a name="idp1124761804"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">fb</span></dt><dd><p>
13   framebuffer to use for new config
14      </p></dd><dt><span class="term">crtc</span></dt><dd><p>
15   CRTC whose configuration we're about to change
16      </p></dd><dt><span class="term">mode</span></dt><dd><p>
17   mode timings to use
18      </p></dd><dt><span class="term">x</span></dt><dd><p>
19   position of this CRTC relative to <em class="parameter"><code>fb</code></em>
20      </p></dd><dt><span class="term">y</span></dt><dd><p>
21   position of this CRTC relative to <em class="parameter"><code>fb</code></em>
22      </p></dd><dt><span class="term">connectors</span></dt><dd><p>
23   array of connectors to drive with this CRTC if possible
24      </p></dd><dt><span class="term">num_connectors</span></dt><dd><p>
25   size of <em class="parameter"><code>connectors</code></em> array
26      </p></dd></dl></div></div><div class="refsect1"><a name="idp1124768324"></a><h2>Description</h2><p>
27   Represents a single crtc the connectors that it drives with what mode
28   and from which framebuffer it scans out from.
29   </p><p>
30
31   This is used to set modes.
32</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-drm-atomic-state.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="drm-kms-init.html#idp1124538092">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-drm-mode-config-funcs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_atomic_state</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct drm_mode_config_funcs</span></td></tr></table></div></body></html>
33