1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_plane_funcs</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-state.html" title="struct drm_plane_state"><link rel="next" href="API-struct-drm-plane.html" title="struct drm_plane"></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_funcs</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-plane-state.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.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-plane-funcs"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_plane_funcs — 2 driver plane control functions 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct drm_plane_funcs { 5 int (* update_plane) (struct drm_plane *plane,struct drm_crtc *crtc, struct drm_framebuffer *fb,int crtc_x, int crtc_y,unsigned int crtc_w, unsigned int crtc_h,uint32_t src_x, uint32_t src_y,uint32_t src_w, uint32_t src_h); 6 int (* disable_plane) (struct drm_plane *plane); 7 void (* destroy) (struct drm_plane *plane); 8 void (* reset) (struct drm_plane *plane); 9 int (* set_property) (struct drm_plane *plane,struct drm_property *property, uint64_t val); 10 struct drm_plane_state *(* atomic_duplicate_state) (struct drm_plane *plane); 11 void (* atomic_destroy_state) (struct drm_plane *plane,struct drm_plane_state *state); 12 int (* atomic_set_property) (struct drm_plane *plane,struct drm_plane_state *state,struct drm_property *property,uint64_t val); 13 int (* atomic_get_property) (struct drm_plane *plane,const struct drm_plane_state *state,struct drm_property *property,uint64_t *val); 14}; </pre></div><div class="refsect1"><a name="idp1124703164"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">update_plane</span></dt><dd><p> 15 update the plane configuration 16 </p></dd><dt><span class="term">disable_plane</span></dt><dd><p> 17 shut down the plane 18 </p></dd><dt><span class="term">destroy</span></dt><dd><p> 19 clean up plane resources 20 </p></dd><dt><span class="term">reset</span></dt><dd><p> 21 reset plane after state has been invalidated (e.g. resume) 22 </p></dd><dt><span class="term">set_property</span></dt><dd><p> 23 called when a property is changed 24 </p></dd><dt><span class="term">atomic_duplicate_state</span></dt><dd><p> 25 duplicate the atomic state for this plane 26 </p></dd><dt><span class="term">atomic_destroy_state</span></dt><dd><p> 27 destroy an atomic state for this plane 28 </p></dd><dt><span class="term">atomic_set_property</span></dt><dd><p> 29 set a property on an atomic state for this plane 30 (do not call directly, use <code class="function">drm_atomic_plane_set_property</code>) 31 </p></dd><dt><span class="term">atomic_get_property</span></dt><dd><p> 32 get a property on an atomic state for this plane 33 (do not call directly, use <code class="function">drm_atomic_plane_get_property</code>) 34 </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-state.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.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_plane_state</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</span></td></tr></table></div></body></html> 35