sna: Add a line of DBG for when we discard uploads into CPU bo
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2013 10:35:39 +0000 (11:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2013 10:35:39 +0000 (11:35 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_blt.c

index 0dd5793..6cab2a4 100644 (file)
@@ -2279,6 +2279,7 @@ fill:
 
 put:
                if (tmp->dst.bo == sna_pixmap(tmp->dst.pixmap)->cpu_bo) {
+                       DBG(("%s: dropping upload into CPU bo\n", __FUNCTION__));
                        tmp->dst.bo = NULL;
                        tmp->damage = NULL;
                }