]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/nouveau: initialise display before enabling interrupts
authorBen Skeggs <bskeggs@redhat.com>
Fri, 9 Jul 2010 00:56:08 +0000 (10:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Jul 2010 00:13:56 +0000 (10:13 +1000)
commite88efe056d308d0a3b6b645d0eec7236b2d8c902
tree6b68d5cf5f349ebbeedbc3ecfd863a6e1afd9a3e
parent271f29e7b55278bc2e4bab53448eef9b35778664
drm/nouveau: initialise display before enabling interrupts

In some situations it's possible we can receive a spurious hotplug IRQ
before we're ready to handle it, leading to an oops.

Calling the display init before enabling interrupts should clear any
pending IRQs on the GPU and prevent this from happening.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c