diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-23 22:01:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-24 11:50:19 +0100 |
commit | 77ddadf0ec6b867a0638660bf06c82ad31577795 (patch) | |
tree | 2319a33dc126f06c0c9ae90d0c4b3b08ddc4e173 /src | |
parent | d3de043d2de4aa11a85c56faf1658ec4c4699da2 (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.c | 2 |
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; } |