summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-11-11 13:59:05 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 15:11:43 +1000
commite4cbadcaaa4678020e37ca93502942ffdf9aef80 (patch)
tree5f9d8e69c09c1ca0f7cda360bcd7753050fe0d05 /drivers/gpu
parent274fec93cdd627408a799519fa602f2eecb14d2f (diff)
downloadblackbird-op-linux-e4cbadcaaa4678020e37ca93502942ffdf9aef80.tar.gz
blackbird-op-linux-e4cbadcaaa4678020e37ca93502942ffdf9aef80.zip
drm/nv04-nv40: unregister irq handler on destroy
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nv04_display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_display.c b/drivers/gpu/drm/nouveau/nv04_display.c
index 0978a5b326dc..1715e1464b7d 100644
--- a/drivers/gpu/drm/nouveau/nv04_display.c
+++ b/drivers/gpu/drm/nouveau/nv04_display.c
@@ -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 = {
OpenPOWER on IntegriCloud