i915_vblank_tasklet: Try harder to avoid tearing.
author=?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com>
Mon, 11 Dec 2006 07:32:27 +0000 (18:32 +1100)
committerDave Airlie <airlied@linux.ie>
Mon, 11 Dec 2006 07:32:27 +0000 (18:32 +1100)
commit3188a24c256bae0ed93d81d82db1f1bb6060d727
tree8161deb13ff3c135eb274b08295920fb00ad8bf0
parent2c3f0eddfbd7f5c7a5450de287bad805722888c3
i915_vblank_tasklet: Try harder to avoid tearing.

Previously, if there were several buffer swaps scheduled for the same vertical
blank, all but the first blit emitted stood a chance of exhibiting tearing. In
order to avoid this, split the blits along slices of each output top to bottom.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/i915_irq.c