summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-07 15:36:53 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-07 15:58:43 +0100
commit88733a7874f7c9b45da5d612802947a9de12893a (patch)
tree44988c65eb7d859e452e2803b9aeb651ac43c5ee
parent08865b0af288e0460c38c2e3ca20a7f9d0311f27 (diff)
sna/dri2: Force consideration of the DRI2CopyRegion source as unclean
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index bb7070ed..d3fe18b6 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -1246,6 +1246,7 @@ __sna_dri2_copy_region(struct sna *sna, DrawablePtr draw, RegionPtr region,
src_bo = src_priv->bo;
assert(src_bo->refcnt);
+ kgem_bo_unclean(&sna->kgem, src_bo);
if (is_front(src->attachment)) {
struct sna_pixmap *priv;