Skip to content

Commit

Permalink
drm/nv04-nv40: unregister irq handler on destroy
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 3, 2010
1 parent 274fec9 commit e4cbadc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/nouveau/nv04_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e4cbadc

Please sign in to comment.