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>
This commit is contained in:
Chris Wilson 2011-12-20 20:11:12 +00:00
parent f837b9bcc7
commit ca24ffe8b9
1 changed files with 1 additions and 1 deletions

View File

@ -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;