i915: Don't emit waits for pending flips before emitting synchronous flips.
authorMichel Dänzer <michel@tungstengraphics.com>
Wed, 28 Feb 2007 14:23:19 +0000 (15:23 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Wed, 28 Feb 2007 14:23:19 +0000 (15:23 +0100)
commit1cdc1b6fbabffc0dd4d3c1f8405d9372a45480a2
tree46602e8dc0664e621ac4ece9fd78d64ad69efb5c
parentfd0fed3f1e10d7ff1205a485621767b650c6f5ff
i915: Don't emit waits for pending flips before emitting synchronous flips.

The assumption is that synchronous flips are not isolated usually, and waiting
for all of them could result in stalling the pipeline for long periods of time.

Also use i915_emit_mi_flush() instead of an old-fashioned way to achieve the
same effect.
shared-core/i915_dma.c
shared-core/i915_drv.h