1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>drm_kms_helper_hotplug_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-helper-probe-single-connector-modes-nomerge.html" title="drm_helper_probe_single_connector_modes_nomerge"><link rel="next" href="API-drm-kms-helper-poll-disable.html" title="drm_kms_helper_poll_disable"></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_kms_helper_hotplug_event</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-drm-helper-probe-single-connector-modes-nomerge.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-kms-helper-poll-disable.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-drm-kms-helper-hotplug-event"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>drm_kms_helper_hotplug_event — 2 fire off KMS hotplug events 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">void <b class="fsfunc">drm_kms_helper_hotplug_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="idp1125606028"></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 whose connector state changed 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1125607644"></a><h2>Description</h2><p> 6 This function fires off the uevent for userspace and also calls the 7 output_poll_changed function, which is most commonly used to inform the fbdev 8 emulation code and allow it to update the fbcon output configuration. 9 </p><p> 10 11 Drivers should call this from their hotplug handling code when a change is 12 detected. Note that this function does not do any output detection of its 13 own, like <code class="function">drm_helper_hpd_irq_event</code> does - this is assumed to be done by the 14 driver already. 15 </p><p> 16 17 This function must be called from process context with no mode 18 setting locks held. 19</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-helper-probe-single-connector-modes-nomerge.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-kms-helper-poll-disable.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">drm_helper_probe_single_connector_modes_nomerge</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_kms_helper_poll_disable</span></td></tr></table></div></body></html> 20