From b6b4118bb06c5a38d7b7bf61ab67551c3129176d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 12 Dec 2019 13:54:43 -0800 Subject: [PATCH] freedreno: Include the layer size in layout debug. It's been many of my bugs so far. Part-of: --- src/freedreno/fdl/freedreno_layout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedreno/fdl/freedreno_layout.c b/src/freedreno/fdl/freedreno_layout.c index 345b33deb83..7c0a7052a52 100644 --- a/src/freedreno/fdl/freedreno_layout.c +++ b/src/freedreno/fdl/freedreno_layout.c @@ -50,7 +50,7 @@ fdl_dump_layout(struct fdl_layout *layout) uint32_t tile_mode = (layout->ubwc_size ? layout->tile_mode : fdl_tile_mode(layout, level)); - fprintf(stderr, "%s: %ux%ux%u@%ux%u:\t%2u: stride=%4u, size=%6u,%6u, aligned_height=%3u, offset=0x%x,0x%x tiling=%d\n", + fprintf(stderr, "%s: %ux%ux%u@%ux%u:\t%2u: stride=%4u, size=%6u,%6u, aligned_height=%3u, offset=0x%x,0x%x, layersz %5u,%5u tiling=%d\n", util_format_name(layout->format), u_minify(layout->width0, level), u_minify(layout->height0, level), @@ -61,6 +61,7 @@ fdl_dump_layout(struct fdl_layout *layout) slice->size0, ubwc_slice->size0, slice->size0 / (slice->pitch * layout->cpp), slice->offset, ubwc_slice->offset, + layout->layer_size, layout->ubwc_size, tile_mode); } } -- 2.30.2