1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_flip_work</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="ch02s05.html#idp1126805892" title="Flip-work Helper Reference"><link rel="prev" href="API-struct-drm-flip-task.html" title="struct drm_flip_task"><link rel="next" href="API-drm-flip-work-allocate-task.html" title="drm_flip_work_allocate_task"></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_flip_work</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-flip-task.html">Prev</a>&#160;</td><th width="60%" align="center">Flip-work Helper Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-drm-flip-work-allocate-task.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-flip-work"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_flip_work &#8212; 
2     flip work queue
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_flip_work {
5  const char * name;
6  drm_flip_func_t func;
7  struct work_struct worker;
8  struct list_head queued;
9  struct list_head commited;
10  spinlock_t lock;
11};  </pre></div><div class="refsect1"><a name="idp1126816916"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">name</span></dt><dd><p>
12   debug name
13      </p></dd><dt><span class="term">func</span></dt><dd><p>
14   callback fxn called for each committed item
15      </p></dd><dt><span class="term">worker</span></dt><dd><p>
16   worker which calls <em class="parameter"><code>func</code></em>
17      </p></dd><dt><span class="term">queued</span></dt><dd><p>
18   queued tasks
19      </p></dd><dt><span class="term">commited</span></dt><dd><p>
20   commited tasks
21      </p></dd><dt><span class="term">lock</span></dt><dd><p>
22   lock to access queued and commited lists
23      </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-flip-task.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idp1126805892">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-drm-flip-work-allocate-task.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_flip_task</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">drm_flip_work_allocate_task</span></td></tr></table></div></body></html>
24