drm/nv04-nv40: unregister irq handler on destroy
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 Nov 2010 03:59:05 +0000 (13:59 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:43 +0000 (15:11 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_display.c

index 0978a5b326dc24fcaf84e24b7b02ca9e1cebeaea..1715e1464b7d500c1691bb8c63a11d5fe72a5621 100644 (file)
@@ -213,6 +213,9 @@ nv04_display_destroy(struct drm_device *dev)
 
        NV_DEBUG_KMS(dev, "\n");
 
+       nouveau_irq_unregister(dev, 24);
+       nouveau_irq_unregister(dev, 25);
+
        /* Turn every CRTC off. */
        list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
                struct drm_mode_set modeset = {