summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-26 13:43:35 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-26 13:43:35 +0100
commitd432983421286d343f7c487c12c7244b711f5a66 (patch)
tree4f67b400774a0cec2c354184220cfb465bf533a5
parent5a5212117e7a73ce3fffb87c60a505a849e38c36 (diff)
sna: Add some DBG to BLT composite substitute to show if redirection is used
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_blt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c
index 656e979f..c2869182 100644
--- a/src/sna/sna_blt.c
+++ b/src/sna/sna_blt.c
@@ -1915,7 +1915,9 @@ sna_blt_composite__convert(struct sna *sna,
return false;
#endif
- DBG(("%s\n", __FUNCTION__));
+ DBG(("%s src=%d, dst=%d (redirect? %d)\n", __FUNCTION__,
+ tmp->src.bo->handle, tmp->dst.bo->handle,
+ tmp->redirect.real_bo ? tmp->redirect.real_bo->handle : 0));
if (!kgem_bo_can_blt(&sna->kgem, tmp->dst.bo) ||
!kgem_bo_can_blt(&sna->kgem, tmp->src.bo)) {