drm_irq_uninstall(9) 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 <[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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT