drm_irq_uninstall(9)

drm_irq_uninstall9

Uninstall the irq handler

Usage

int drm_irq_uninstall(struct drm_device * dev);

Arguments

dev

DRM device

Overview

Calls the driver's irq_uninstall function and unregisters the IRQ handler. This should only be called by drivers which used drm_irq_install to set up their interrupt handler. Other drivers must only reset drm_device->irq_enabled to false.

Note that for kernel modesetting drivers it is a bug if this function fails. The sanity checks are only to catch buggy user modesetting drivers which call the same function through an ioctl.

Returns

Zero on success or a negative error code on failure.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.