From 53ff19f45a3cc4863845c23e8d3c2c2b95e03fd9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 17 Jul 2012 19:40:16 +0100 Subject: [PATCH] sna: Allow wedged CopyPlane to operate inplace on the destination Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 4321c21b..d4b9f375 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -6051,7 +6051,7 @@ fallback: if (!sna_gc_move_to_cpu(gc, dst, ®ion)) goto out; if (!sna_drawable_move_region_to_cpu(dst, ®ion, - MOVE_READ | MOVE_WRITE)) + drawable_gc_flags(dst, gc, false))) goto out_gc; DBG(("%s: fbCopyPlane(%d, %d, %d, %d, %d,%d) %x\n",