i915: Avoid mis-counting vblank interrupts when they're only enabled for pipe A.
authorMichel Dänzer <michel@tungstengraphics.com>
Wed, 27 Sep 2006 16:22:10 +0000 (18:22 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 28 Sep 2006 13:41:36 +0000 (15:41 +0200)
commit881ba569929ceafd42e3c86228b0172099083d1d
tree767864066e98bde0d3f1812a1fa2b854cbe12a22
parent2627131e5d0c8cd5e3f0db06451c2e7ae7569b1b
i915: Avoid mis-counting vblank interrupts when they're only enabled for pipe A.

It looks like 'after a while', I915REG_INT_IDENTITY_R for some reason always has
VSYNC_PIPEB_FLAG set in the interrupt handler, even though pipe B is disabled.
So we only increase dev->vbl_received if the corresponding bit is also set in
dev->vblank_pipe.
shared-core/i915_irq.c