diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-20 20:11:12 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-20 20:11:12 +0000 |
commit | ca24ffe8b9acef034a5610376c73ebbdce87d41c (patch) | |
tree | ec3c1070ccdd40813b081fdbafede9724f4cd461 | |
parent | f837b9bcc7d384aeb37c2e9ebdac95571deaedc6 (diff) |
sna: Improve a debug message
Give the units when saying the pixmap is too small to bother tiling.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 4ae7d140..03b7ceb8 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -1698,7 +1698,7 @@ int kgem_choose_tiling(struct kgem *kgem, int tiling, int width, int height, int } if (tiling && ALIGN(height, 2) * ALIGN(width*bpp, 8*64) <= 4096 * 8) { - DBG(("%s: too small [%d] for TILING_%c\n", __FUNCTION__, + DBG(("%s: too small [%d bytes] for TILING_%c\n", __FUNCTION__, ALIGN(height, 2) * ALIGN(width*bpp, 8*64) / 8, tiling == I915_TILING_X ? 'X' : 'Y')); tiling = I915_TILING_NONE; |