summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-23 22:01:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-24 11:50:19 +0100
commit77ddadf0ec6b867a0638660bf06c82ad31577795 (patch)
tree2319a33dc126f06c0c9ae90d0c4b3b08ddc4e173 /src
parentd3de043d2de4aa11a85c56faf1658ec4c4699da2 (diff)
sna: Clear 'clear' hint upon uploading into tiled
Fixes regression from commit 53c113c3cc2f8527debc185f0819139ca8637637 [2.21.10] Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jun 21 19:27:24 2013 +0100 sna: Allow PutImage to write inplace using manual tiling Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66059 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 0994c331..43d6a679 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -4000,6 +4000,8 @@ try_upload_tiled_x(PixmapPtr pixmap, RegionRec *region,
} while (--n);
__kgem_bo_unmap__cpu(&sna->kgem, priv->gpu_bo, dst);
+ priv->clear = false;
+ priv->cpu = false;
return true;
}