diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-30 15:57:42 +0000 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2010-03-01 18:46:11 +0000 |
commit | 8b50cae70dc926ce3416466d0cb6516d3d4a6002 (patch) | |
tree | 6eb11f4669e964a6fb76f0d909135c9b9b6d87b5 /src/i830_uxa.c | |
parent | 01f48be880556fb6cb29685086d85ebf73ddad78 (diff) |
uxa: Remove cache flush for copy
As the copy uses the 2D blitter, it uses the render cache so the source
should not require flushing if it has previously been used as a
destination.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 85fe41126e83b35954dc2066eb103e0555e207a4)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_uxa.c')
-rw-r--r-- | src/i830_uxa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/i830_uxa.c b/src/i830_uxa.c index dfc3d7f4..83074c88 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -310,9 +310,6 @@ i830_uxa_prepare_copy(PixmapPtr source, PixmapPtr dest, int xdir, if (!intel_check_pitch_2d(dest)) return FALSE; - if(i830_uxa_pixmap_is_dirty(source)) - intel_batch_pipelined_flush(scrn); - intel->render_source = source; intel->BR[13] = I830CopyROP[alu] << 16; |