1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_atomic_state</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-bridge.html" title="struct drm_bridge"><link rel="next" href="API-struct-drm-mode-set.html" title="struct drm_mode_set"></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_atomic_state</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-bridge.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-set.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-atomic-state"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_atomic_state &#8212; 
2     the global state object for atomic updates
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_atomic_state {
5  struct drm_device * dev;
6  bool allow_modeset:1;
7  bool legacy_cursor_update:1;
8  struct drm_plane ** planes;
9  struct drm_plane_state ** plane_states;
10  struct drm_crtc ** crtcs;
11  struct drm_crtc_state ** crtc_states;
12  int num_connector;
13  struct drm_connector ** connectors;
14  struct drm_connector_state ** connector_states;
15  struct drm_modeset_acquire_ctx * acquire_ctx;
16};  </pre></div><div class="refsect1"><a name="idp1124748628"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">dev</span></dt><dd><p>
17   parent DRM device
18      </p></dd><dt><span class="term">allow_modeset</span></dt><dd><p>
19   allow full modeset
20      </p></dd><dt><span class="term">legacy_cursor_update</span></dt><dd><p>
21   hint to enforce legacy cursor ioctl semantics
22      </p></dd><dt><span class="term">planes</span></dt><dd><p>
23   pointer to array of plane pointers
24      </p></dd><dt><span class="term">plane_states</span></dt><dd><p>
25   pointer to array of plane states pointers
26      </p></dd><dt><span class="term">crtcs</span></dt><dd><p>
27   pointer to array of CRTC pointers
28      </p></dd><dt><span class="term">crtc_states</span></dt><dd><p>
29   pointer to array of CRTC states pointers
30      </p></dd><dt><span class="term">num_connector</span></dt><dd><p>
31   size of the <em class="parameter"><code>connectors</code></em> and <em class="parameter"><code>connector_states</code></em> arrays
32      </p></dd><dt><span class="term">connectors</span></dt><dd><p>
33   pointer to array of connector pointers
34      </p></dd><dt><span class="term">connector_states</span></dt><dd><p>
35   pointer to array of connector states pointers
36      </p></dd><dt><span class="term">acquire_ctx</span></dt><dd><p>
37   acquire context for this atomic modeset state update
38      </p></dd></dl></div></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-bridge.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-set.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_bridge</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_set</span></td></tr></table></div></body></html>
39