Mesa (master): freedreno/a6xx: Improve layout testcase logging for UBWC fails.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 13 19:39:46 UTC 2020


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed May  6 11:40:51 2020 -0700

freedreno/a6xx: Improve layout testcase logging for UBWC fails.

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

---

 src/freedreno/fdl/fd6_layout_test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/freedreno/fdl/fd6_layout_test.c b/src/freedreno/fdl/fd6_layout_test.c
index 378e6f10aa9..a30b08983a0 100644
--- a/src/freedreno/fdl/fd6_layout_test.c
+++ b/src/freedreno/fdl/fd6_layout_test.c
@@ -431,7 +431,7 @@ static bool test_layout(const struct testcase *testcase)
 		}
 
 		if (layout.ubwc_slices[l].offset != testcase->layout.ubwc_slices[l].offset) {
-			fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: offset 0x%x != 0x%x\n",
+			fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: UBWC offset 0x%x != 0x%x\n",
 					util_format_short_name(testcase->format),
 					layout.width0, layout.height0, layout.depth0,
 					layout.nr_samples, l,
@@ -440,7 +440,7 @@ static bool test_layout(const struct testcase *testcase)
 			ok = false;
 		}
 		if (layout.ubwc_slices[l].pitch != testcase->layout.ubwc_slices[l].pitch) {
-			fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: pitch %d != %d\n",
+			fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: UBWC pitch %d != %d\n",
 					util_format_short_name(testcase->format),
 					layout.width0, layout.height0, layout.depth0,
 					layout.nr_samples, l,



More information about the mesa-commit mailing list