1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>drm_helper_hpd_irq_event</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#idp1125575852" title="Output Probing Helper Functions Reference"><link rel="prev" href="API-drm-kms-helper-poll-fini.html" title="drm_kms_helper_poll_fini"><link rel="next" href="API-drm-fb-helper-single-add-all-connectors.html" title="drm_fb_helper_single_add_all_connectors"></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">drm_helper_hpd_irq_event</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-drm-kms-helper-poll-fini.html">Prev</a> </td><th width="60%" align="center">Output Probing Helper Functions Reference</th><td width="20%" align="right"> <a accesskey="n" href="API-drm-fb-helper-single-add-all-connectors.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-drm-helper-hpd-irq-event"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>drm_helper_hpd_irq_event — 2 hotplug processing 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">bool <b class="fsfunc">drm_helper_hpd_irq_event </b>(</code></td><td>struct drm_device * <var class="pdparam">dev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1125643500"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>dev</code></em></span></dt><dd><p> 4 drm_device 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1125645092"></a><h2>Description</h2><p> 6 Drivers can use this helper function to run a detect cycle on all connectors 7 which have the DRM_CONNECTOR_POLL_HPD flag set in their <span class="structname">polled</span> member. All 8 other connectors are ignored, which is useful to avoid reprobing fixed 9 panels. 10 </p><p> 11 12 This helper function is useful for drivers which can't or don't track hotplug 13 interrupts for each connector. 14 </p><p> 15 16 Drivers which support hotplug interrupts for each connector individually and 17 which have a more fine-grained detect logic should bypass this code and 18 directly call <code class="function">drm_kms_helper_hotplug_event</code> in case the connector state 19 changed. 20 </p><p> 21 22 This function must be called from process context with no mode 23 setting locks held. 24 </p><p> 25 26 Note that a connector can be both polled and probed from the hotplug handler, 27 in case the hotplug interrupt is known to be unreliable. 28</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-drm-kms-helper-poll-fini.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s05.html#idp1125575852">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-drm-fb-helper-single-add-all-connectors.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">drm_kms_helper_poll_fini</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">drm_fb_helper_single_add_all_connectors</span></td></tr></table></div></body></html> 29