i915: Protect vblank IRQ reg access with spinlock
authorKeith Packard <keithp@keithp.com>
Thu, 16 Oct 2008 18:31:38 +0000 (11:31 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2008 03:42:26 +0000 (13:42 +1000)
This uses the same spinlock as the user_irq code as it shares the same
register, ensuring that interrupt registers are updated atomically.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found