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:
parent
f837b9bcc7
commit
ca24ffe8b9
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue