[intel] Use IMR instead of IER to pend interrupts during ISR
authorKeith Packard <keithp@keithp.com>
Sat, 21 Jun 2008 07:33:07 +0000 (00:33 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 21 Jun 2008 07:33:07 +0000 (00:33 -0700)
commita369bf0e575697308690f532576caf652e42b4cb
tree44c128291caf9199d3d1a109ef6fcea03cd79057
parent8be6ec491f7b9c633a426a34006ea4ff5a3f8392
[intel] Use IMR instead of IER to pend interrupts during ISR

Noting that the interrupt mask register was more reliable than the interrupt
enable register for managing interrupts in user_irq_on/user_irq_off, this
patch replaces the remaining IER frobbing with IMR instead.

The test which exposes IER related failures is:

$ glxgears & glxgears & glxgears
(reposition the glxgears windows away from the upper left corner)
$ while :; do x11perf -rect100 -reps 800 -repeat 1; sleep 1; done &
$ while :; do runoa; runet; done &
shared-core/i915_irq.c