i915: Only schedule vblank tasklet if there are scheduled swaps pending.
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 29 Sep 2006 08:27:29 +0000 (10:27 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 29 Sep 2006 08:27:29 +0000 (10:27 +0200)
commit7af93dd9849442270ec89cb4bbeef5bfd4f9e424
tree72cec3ac4a9cc84e8a850cff104705da940e6e4d
parent881ba569929ceafd42e3c86228b0172099083d1d
i915: Only schedule vblank tasklet if there are scheduled swaps pending.

This fixes issues on X server startup with versions of xf86-video-intel that
enable the IRQ before they have a context ID.
shared-core/i915_irq.c