1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_plane_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-connector.html" title="struct drm_connector"><link rel="next" href="API-struct-drm-plane-funcs.html" title="struct drm_plane_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_state</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-connector.html">Prev</a> </td><th width="60%" align="center">KMS Data Structures</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-drm-plane-funcs.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-plane-state"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_plane_state — 2 mutable plane state 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct drm_plane_state { 5 struct drm_plane * plane; 6 struct drm_crtc * crtc; 7 struct drm_framebuffer * fb; 8 struct fence * fence; 9 int32_t crtc_x; 10 int32_t crtc_y; 11 uint32_t crtc_w; 12 uint32_t crtc_h; 13 uint32_t src_x; 14 uint32_t src_y; 15 uint32_t src_h; 16 uint32_t src_w; 17 struct drm_atomic_state * state; 18}; </pre></div><div class="refsect1"><a name="idp1124688156"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">plane</span></dt><dd><p> 19 backpointer to the plane 20 </p></dd><dt><span class="term">crtc</span></dt><dd><p> 21 currently bound CRTC, NULL if disabled 22 </p></dd><dt><span class="term">fb</span></dt><dd><p> 23 currently bound framebuffer 24 </p></dd><dt><span class="term">fence</span></dt><dd><p> 25 optional fence to wait for before scanning out <em class="parameter"><code>fb</code></em> 26 </p></dd><dt><span class="term">crtc_x</span></dt><dd><p> 27 left position of visible portion of plane on crtc 28 </p></dd><dt><span class="term">crtc_y</span></dt><dd><p> 29 upper position of visible portion of plane on crtc 30 </p></dd><dt><span class="term">crtc_w</span></dt><dd><p> 31 width of visible portion of plane on crtc 32 </p></dd><dt><span class="term">crtc_h</span></dt><dd><p> 33 height of visible portion of plane on crtc 34 </p></dd><dt><span class="term">src_x</span></dt><dd><p> 35 left position of visible portion of plane within 36 plane (in 16.16) 37 </p></dd><dt><span class="term">src_y</span></dt><dd><p> 38 upper position of visible portion of plane within 39 plane (in 16.16) 40 </p></dd><dt><span class="term">src_h</span></dt><dd><p> 41 height of visible portion of plane (in 16.16) 42 </p></dd><dt><span class="term">src_w</span></dt><dd><p> 43 width of visible portion of plane (in 16.16) 44 </p></dd><dt><span class="term">state</span></dt><dd><p> 45 backpointer to global drm_atomic_state 46 </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-connector.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="drm-kms-init.html#idp1124538092">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-drm-plane-funcs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_connector</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct drm_plane_funcs</span></td></tr></table></div></body></html> 47