diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-09-27 18:22:10 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-09-29 12:55:09 +0200 |
commit | 390184df92915d232cab90469937de875ee65b91 (patch) | |
tree | a118f5688398b768222ce0d8ab847d0d94869566 /linux-core/drm_dma.c | |
parent | c0bff9f9cd08066df7f3bccd77d4d4dd4edb4163 (diff) |
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.
(cherry picked from 881ba569929ceafd42e3c86228b0172099083d1d commit)
Diffstat (limited to 'linux-core/drm_dma.c')
0 files changed, 0 insertions, 0 deletions