---
name: "drm_irq_uninstall"
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_irq_uninstall"
---

# drm\_irq\_uninstall(9)

uninstall the IRQ handler

## NAME

drm\_irq\_uninstall - uninstall the IRQ handler

## SYNOPSIS

**int drm\_irq\_uninstall(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

DRM device

## DESCRIPTION

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** \<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
