From d432983421286d343f7c487c12c7244b711f5a66 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 26 Aug 2012 13:43:35 +0100 Subject: sna: Add some DBG to BLT composite substitute to show if redirection is used Signed-off-by: Chris Wilson --- src/sna/sna_blt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.3