diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-28 08:31:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-28 08:38:58 +0100 |
commit | 7a685d1d7b63a1589ba0fd09168d4f95d18fcae5 (patch) | |
tree | 875a222aee8a61f61e3007e8e6e12cd8df7e236b /src | |
parent | 3e330f3980b7bacad30b25ff144e4162acc854bb (diff) |
sna: Add a minor DBG for tiled copies
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_tiling.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_tiling.c b/src/sna/sna_tiling.c index 2552fd32..17826a88 100644 --- a/src/sna/sna_tiling.c +++ b/src/sna/sna_tiling.c @@ -1018,6 +1018,9 @@ bool sna_tiling_blt_copy_boxes(struct sna *sna, uint8_t alu, int max_size, step; bool ret = false; + DBG(("%s: alu=%d, src size=%d, dst size=%d\n", __FUNCTION__, + alu, kgem_bo_size(src_bo), kgem_bo_size(dst_bo))); + if (wedged(sna) || !kgem_bo_can_blt(&sna->kgem, src_bo) || !kgem_bo_can_blt(&sna->kgem, dst_bo)) { |