diff options
author | Eric Anholt <eric@anholt.net> | 2008-11-04 15:50:30 -0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-25 09:27:43 +1000 |
commit | cdfbc41f6d602fc0105fb2b4e0645cc1aa274c12 (patch) | |
tree | 94555bbfe2161c641494a82911a96b60783bca35 /drivers/misc/hpilo.c | |
parent | 7c463586427bbbad726ba561bae4ba5acada2481 (diff) |
drm/i915: Remove IMR masking during interrupt handler, and restart it if needed.
The IMR masking was a technique recommended for avoiding getting stuck with
no interrupts generated again in MSI mode. It kept new IIR bits from getting
set between the IIR read and the IIR write, which would have otherwise
prevented an MSI from ever getting generated again. However, this caused a
problem for vblank as the IMR mask would keep the pipe event interrupt from
getting reflected in IIR, even after the IMR mask was brought back down.
Instead, just check the state of IIR after we ack the interrupts we're going
to handle, and restart if we didn't get IIR all the way to zero.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/misc/hpilo.c')
0 files changed, 0 insertions, 0 deletions