i915: Move all of the irq install/uninstall to load time.
authorRobert Noland <rnoland@2hip.net>
Wed, 23 Jul 2008 23:55:06 +0000 (19:55 -0400)
committerRobert Noland <rnoland@2hip.net>
Wed, 23 Jul 2008 23:55:06 +0000 (19:55 -0400)
commit965a72202b439068e62ac341990f51953457b202
treefbd49467efd5f388db6d847c92d7c751e1c2b01c
parent589f9681734770dce966bcded7d3d4bd78f4bea5
i915: Move all of the irq install/uninstall to load time.

This resolves a panic on FreeBSD which was caused by trying
to re-initialize the swap lock.  It's just much easier to
initialize all of the locks at load time.  It should also
ensure that the vblank structures are available earlier.
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c