summaryrefslogtreecommitdiff
path: root/src/sna
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-21 14:31:44 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-11-21 14:31:44 +0000
commit0884777c33d20dbc329b98ad0db5ffb0df93ac8c (patch)
treee19d043aa703a669447e1a45da1e4f82a134a9b7 /src/sna
parent2249e9edc37811c07e2807d6b4def05585b44c22 (diff)
sna: Fix bogus assertion from 03fb9ded43
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r--src/sna/sna_accel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index b0e4c6cd..ef142515 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -4659,7 +4659,9 @@ sna_copy_boxes(DrawablePtr src, DrawablePtr dst, GCPtr gc,
if (n == 1 &&
tmp->drawable.width == src_pixmap->drawable.width &&
tmp->drawable.height == src_pixmap->drawable.height) {
- assert(src_priv->gpu_damage);
+ DBG(("%s: caching upload for src bo\n",
+ __FUNCTION__));
+ assert(src_priv->gpu_damage == NULL);
kgem_proxy_bo_attach(src_bo, &src_priv->gpu_bo);
}