diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-16 09:17:59 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-16 09:30:10 +0000 |
commit | ab36300a22222086b94857f356612106ffbeb480 (patch) | |
tree | 4ea6ee8482eb98210af2a50a601ee74086bd4371 | |
parent | a6ecb6d31d8c543f38fca0be6b0ec82e59dcd8d2 (diff) |
sna: Correct DBG to refer to the actual tiling mode forced
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 74a7c24d..98f3ec99 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -3293,12 +3293,12 @@ int kgem_choose_tiling(struct kgem *kgem, int tiling, int width, int height, int tiling = I915_TILING_X; if (width*bpp > (MAXSHORT-512) * 8) { - DBG(("%s: large pitch [%d], forcing TILING_X\n", - __FUNCTION__, width*bpp/8)); if (tiling > 0) tiling = -tiling; else if (tiling == 0) tiling = -I915_TILING_X; + DBG(("%s: large pitch [%d], forcing TILING [%d]\n", + __FUNCTION__, width*bpp/8, tiling)); } else if (tiling && (width|height) > 8192) { DBG(("%s: large tiled buffer [%dx%d], forcing TILING_X\n", __FUNCTION__, width, height)); |