diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-11-10 22:59:05 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 00:11:43 -0500 |
commit | e4cbadcaaa4678020e37ca93502942ffdf9aef80 (patch) | |
tree | 5f9d8e69c09c1ca0f7cda360bcd7753050fe0d05 /drivers/gpu/drm/nouveau/nv04_display.c | |
parent | 274fec93cdd627408a799519fa602f2eecb14d2f (diff) |
drm/nv04-nv40: unregister irq handler on destroy
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv04_display.c | 3 |
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) | |||
213 | 213 | ||
214 | NV_DEBUG_KMS(dev, "\n"); | 214 | NV_DEBUG_KMS(dev, "\n"); |
215 | 215 | ||
216 | nouveau_irq_unregister(dev, 24); | ||
217 | nouveau_irq_unregister(dev, 25); | ||
218 | |||
216 | /* Turn every CRTC off. */ | 219 | /* Turn every CRTC off. */ |
217 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { | 220 | list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { |
218 | struct drm_mode_set modeset = { | 221 | struct drm_mode_set modeset = { |