]> git.baikalelectronics.ru Git - kernel.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)
commit9805652a18dfd1354c09ab0a0b9cb75b9d82c1d9
tree6b68d5cf5f349ebbeedbc3ecfd863a6e1afd9a3e
parent6435e0fc5fdd205b47ed50930641f87bc8ecd19c
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