drm/nv04-nv40: unregister irq handler on destroy
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
274fec93cd
commit
e4cbadcaaa
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ nv04_display_destroy(struct drm_device *dev)
|
||||||
|
|
||||||
NV_DEBUG_KMS(dev, "\n");
|
NV_DEBUG_KMS(dev, "\n");
|
||||||
|
|
||||||
|
nouveau_irq_unregister(dev, 24);
|
||||||
|
nouveau_irq_unregister(dev, 25);
|
||||||
|
|
||||||
/* Turn every CRTC off. */
|
/* Turn every CRTC off. */
|
||||||
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
|
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
|
||||||
struct drm_mode_set modeset = {
|
struct drm_mode_set modeset = {
|
||||||
|
|
Loading…
Reference in a new issue