Mesa (master): freedreno: Include the layer size in layout debug.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 4 23:35:04 UTC 2020


Module: Mesa
Branch: master
Commit: b6b4118bb06c5a38d7b7bf61ab67551c3129176d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6b4118bb06c5a38d7b7bf61ab67551c3129176d

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Dec 12 13:54:43 2019 -0800

freedreno: Include the layer size in layout debug.

It's been many of my bugs so far.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059>

---

 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);
 	}
 }



More information about the mesa-commit mailing list