---
name: "drm_helper_hpd_irq_event"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_helper_hpd_irq_event"
---

# drm\_helper\_hpd\_irq\_event(9)

hotplug processing

## NAME

drm\_helper\_hpd\_irq\_event - hotplug processing

## SYNOPSIS

**bool drm\_helper\_hpd\_irq\_event(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

drm\_device

## DESCRIPTION

Drivers can use this helper function to run a detect cycle on all connectors which have the DRM\_CONNECTOR\_POLL\_HPD flag set in their polled member. All other connectors are ignored, which is useful to avoid reprobing fixed panels.

This helper function is useful for drivers which can't or don't track hotplug interrupts for each connector.

Drivers which support hotplug interrupts for each connector individually and which have a more fine-grained detect logic should bypass this code and directly call **drm\_kms\_helper\_hotplug\_event** in case the connector state changed.

This function must be called from process context with no mode setting locks held.

Note that a connector can be both polled and probed from the hotplug handler, in case the hotplug interrupt is known to be unreliable.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
