1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_plane</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-plane-funcs.html" title="struct drm_plane_funcs"><link rel="next" href="API-struct-drm-bridge-funcs.html" title="struct drm_bridge_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_plane</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-plane-funcs.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-bridge-funcs.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-plane"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_plane &#8212; 
2     central DRM plane control structure
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_plane {
5  struct drm_device * dev;
6  struct list_head head;
7  struct drm_mode_object base;
8  uint32_t possible_crtcs;
9  uint32_t * format_types;
10  uint32_t format_count;
11  bool format_default;
12  struct drm_crtc * crtc;
13  struct drm_framebuffer * fb;
14  struct drm_framebuffer * old_fb;
15  const struct drm_plane_funcs * funcs;
16  struct drm_object_properties properties;
17  enum drm_plane_type type;
18  struct drm_plane_state * state;
19};  </pre></div><div class="refsect1"><a name="idp1124715316"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">dev</span></dt><dd><p>
20   DRM device this plane belongs to
21      </p></dd><dt><span class="term">head</span></dt><dd><p>
22   for list management
23      </p></dd><dt><span class="term">base</span></dt><dd><p>
24   base mode object
25      </p></dd><dt><span class="term">possible_crtcs</span></dt><dd><p>
26   pipes this plane can be bound to
27      </p></dd><dt><span class="term">format_types</span></dt><dd><p>
28   array of formats supported by this plane
29      </p></dd><dt><span class="term">format_count</span></dt><dd><p>
30   number of formats supported
31      </p></dd><dt><span class="term">format_default</span></dt><dd><p>
32   driver hasn't supplied supported formats for the plane
33      </p></dd><dt><span class="term">crtc</span></dt><dd><p>
34   currently bound CRTC
35      </p></dd><dt><span class="term">fb</span></dt><dd><p>
36   currently bound fb
37      </p></dd><dt><span class="term">old_fb</span></dt><dd><p>
38   Temporary tracking of the old fb while a modeset is ongoing. Used by
39   <code class="function">drm_mode_set_config_internal</code> to implement correct refcounting.
40      </p></dd><dt><span class="term">funcs</span></dt><dd><p>
41   helper functions
42      </p></dd><dt><span class="term">properties</span></dt><dd><p>
43   property tracking for this plane
44      </p></dd><dt><span class="term">type</span></dt><dd><p>
45   type of plane (overlay, primary, cursor)
46      </p></dd><dt><span class="term">state</span></dt><dd><p>
47   current atomic state for this plane
48      </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-plane-funcs.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-bridge-funcs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_plane_funcs</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_bridge_funcs</span></td></tr></table></div></body></html>
49