1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_encoder</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-encoder-funcs.html" title="struct drm_encoder_funcs"><link rel="next" href="API-struct-drm-connector.html" title="struct drm_connector"></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_encoder</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-encoder-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-connector.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-encoder"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_encoder &#8212; 
2     central DRM encoder structure
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_encoder {
5  struct drm_device * dev;
6  struct list_head head;
7  struct drm_mode_object base;
8  char * name;
9  int encoder_type;
10  uint32_t possible_crtcs;
11  uint32_t possible_clones;
12  struct drm_crtc * crtc;
13  struct drm_bridge * bridge;
14  const struct drm_encoder_funcs * funcs;
15  const void * helper_private;
16};  </pre></div><div class="refsect1"><a name="idp1124634092"></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">head</span></dt><dd><p>
19   list management
20      </p></dd><dt><span class="term">base</span></dt><dd><p>
21   base KMS object
22      </p></dd><dt><span class="term">name</span></dt><dd><p>
23   encoder name
24      </p></dd><dt><span class="term">encoder_type</span></dt><dd><p>
25   one of the <code class="constant">DRM_MODE_ENCODER_</code>&lt;foo&gt; types in drm_mode.h
26      </p></dd><dt><span class="term">possible_crtcs</span></dt><dd><p>
27   bitmask of potential CRTC bindings
28      </p></dd><dt><span class="term">possible_clones</span></dt><dd><p>
29   bitmask of potential sibling encoders for cloning
30      </p></dd><dt><span class="term">crtc</span></dt><dd><p>
31   currently bound CRTC
32      </p></dd><dt><span class="term">bridge</span></dt><dd><p>
33   bridge associated to the encoder
34      </p></dd><dt><span class="term">funcs</span></dt><dd><p>
35   control functions
36      </p></dd><dt><span class="term">helper_private</span></dt><dd><p>
37   mid-layer private data
38      </p></dd></dl></div></div><div class="refsect1"><a name="idp1124642628"></a><h2>Description</h2><p>
39   CRTCs drive pixels to encoders, which convert them into signals
40   appropriate for a given connector or set of connectors.
41</p></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-encoder-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-connector.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_encoder_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_connector</span></td></tr></table></div></body></html>
42