summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-11 10:47:44 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-11 11:12:33 +0100
commit029934662e0bad6cf47baf4d7202656dd3e0ba08 (patch)
treeaec57e6f4ee8857c19fb3c848c286b9d02437c7b
parentf20f8556bfc8b4df6ba5050cca656a4ff0fdf18f (diff)
downloadxorg-driver-xf86-video-intel-029934662e0bad6cf47baf4d7202656dd3e0ba08.tar.gz
sna: Add a little DBG for promotion of CPU source bo
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_render.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index f507f490..757b2f41 100644
--- a/src/sna/sna_render.c
+++ b/src/sna/sna_render.c
@@ -352,8 +352,11 @@ use_cpu_bo(struct sna *sna, PixmapPtr pixmap, const BoxRec *box, bool blt)
bool want_tiling;
if (priv->cpu_bo->pitch >= 4096) {
- DBG(("%s: promoting snooped CPU bo due to TLB miss\n",
- __FUNCTION__));
+ DBG(("%s: size=%dx%d, promoting reused (%d) CPU bo due to TLB miss (%dx%d, pitch=%d)\n",
+ __FUNCTION__, w, h, priv->source_count,
+ pixmap->drawable.width,
+ pixmap->drawable.height,
+ priv->cpu_bo->pitch));
return NULL;
}