summaryrefslogtreecommitdiff
path: root/src/sna/sna_dri3.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-03-31 12:31:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-03-31 12:31:41 +0100
commit3fafabe56241c7180a8b7d1896b1c6d7e4999ba2 (patch)
treeae2658cae0188189991e090f11a8544d39d2259e /src/sna/sna_dri3.c
parentebe86fdaa9aa13de3d1952c5d7a62bf36e834455 (diff)
sna/dri3: Ensure foriegn bo are marked as unclean on creation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri3.c')
-rw-r--r--src/sna/sna_dri3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_dri3.c b/src/sna/sna_dri3.c
index 52ae2630..70b12c60 100644
--- a/src/sna/sna_dri3.c
+++ b/src/sna/sna_dri3.c
@@ -60,6 +60,7 @@ static inline void mark_dri3_pixmap(struct sna *sna, struct sna_pixmap *priv, st
priv->shm = true;
sna_accel_watch_flush(sna, 1);
+ kgem_bo_unclean(&sna->kgem, bo);
}
static void sna_sync_flush(struct sna *sna, struct sna_pixmap *priv)