1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_connector_helper_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="ch02s05.html#idp1125415036" title="Modeset Helper Functions Reference"><link rel="prev" href="API-struct-drm-encoder-helper-funcs.html" title="struct drm_encoder_helper_funcs"><link rel="next" href="API-drm-helper-move-panel-connectors-to-head.html" title="drm_helper_move_panel_connectors_to_head"></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_connector_helper_funcs</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-encoder-helper-funcs.html">Prev</a>&#160;</td><th width="60%" align="center">Modeset Helper Functions Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-drm-helper-move-panel-connectors-to-head.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-connector-helper-funcs"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_connector_helper_funcs &#8212; 
2     helper operations for connectors
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct drm_connector_helper_funcs {
5  int (* get_modes) (struct drm_connector *connector);
6  enum drm_mode_status (* mode_valid) (struct drm_connector *connector,struct drm_display_mode *mode);
7  struct drm_encoder *(* best_encoder) (struct drm_connector *connector);
8};  </pre></div><div class="refsect1"><a name="idp1125458796"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">get_modes</span></dt><dd><p>
9   get mode list for this connector
10      </p></dd><dt><span class="term">mode_valid</span></dt><dd><p>
11   is this mode valid on the given connector? (optional)
12      </p></dd><dt><span class="term">best_encoder</span></dt><dd><p>
13   return the preferred encoder for this connector
14      </p></dd></dl></div></div><div class="refsect1"><a name="idp1125461548"></a><h2>Description</h2><p>
15   The helper operations are called by the mid-layer CRTC helper.
16</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-helper-funcs.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idp1125415036">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-drm-helper-move-panel-connectors-to-head.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_encoder_helper_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">drm_helper_move_panel_connectors_to_head</span></td></tr></table></div></body></html>
17