1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct drm_bridge_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.html" title="struct drm_plane"><link rel="next" href="API-struct-drm-bridge.html" title="struct drm_bridge"></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_bridge_funcs</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-drm-plane.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-bridge.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-drm-bridge-funcs"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct drm_bridge_funcs — 2 drm_bridge control functions 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4struct drm_bridge_funcs { 5 int (* attach) (struct drm_bridge *bridge); 6 bool (* mode_fixup) (struct drm_bridge *bridge,const struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode); 7 void (* disable) (struct drm_bridge *bridge); 8 void (* post_disable) (struct drm_bridge *bridge); 9 void (* mode_set) (struct drm_bridge *bridge,struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode); 10 void (* pre_enable) (struct drm_bridge *bridge); 11 void (* enable) (struct drm_bridge *bridge); 12}; </pre></div><div class="refsect1"><a name="idp1124730548"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">attach</span></dt><dd><p> 13 Called during drm_bridge_attach 14 </p></dd><dt><span class="term">mode_fixup</span></dt><dd><p> 15 Try to fixup (or reject entirely) proposed mode for this bridge 16 </p></dd><dt><span class="term">disable</span></dt><dd><p> 17 Called right before encoder prepare, disables the bridge 18 </p></dd><dt><span class="term">post_disable</span></dt><dd><p> 19 Called right after encoder prepare, for lockstepped disable 20 </p></dd><dt><span class="term">mode_set</span></dt><dd><p> 21 Set this mode to the bridge 22 </p></dd><dt><span class="term">pre_enable</span></dt><dd><p> 23 Called right before encoder commit, for lockstepped commit 24 </p></dd><dt><span class="term">enable</span></dt><dd><p> 25 Called right after encoder commit, enables the bridge 26 </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.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-bridge.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct drm_plane</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_bridge</span></td></tr></table></div></body></html> 27