commit | e9d21d7f5ae1e625f3687d88bb50b00478c533ad | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Oct 16 11:31:38 2008 -0700 |
committer | Dave Airlie <airlied@redhat.com> | Thu Oct 23 13:42:26 2008 +1000 |
tree | 7df5011d358145f89564b42c38f58cab16f78ea7 | |
parent | 4b40893918203ee1a1f6a114316c2a19c072e9bd [diff] |
i915: Protect vblank IRQ reg access with spinlock 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>