Mesa (main): asahi/decode: Handle CULL packets

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 11 18:58:29 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Sat Jul 10 12:30:27 2021 -0400

asahi/decode: Handle CULL packets

Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11815>

---

 src/asahi/lib/decode.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/asahi/lib/decode.c b/src/asahi/lib/decode.c
index a7bf8e4f355..f415a46f14f 100644
--- a/src/asahi/lib/decode.c
+++ b/src/asahi/lib/decode.c
@@ -364,6 +364,9 @@ agxdecode_record(uint64_t va, size_t size, bool verbose)
    } else if (tag == 0x10000b5) {
       assert(size == AGX_RASTERIZER_LENGTH);
       DUMP_CL(RASTERIZER, map, "Rasterizer");
+   } else if (tag == 0x200000) {
+      assert(size == AGX_CULL_LENGTH);
+      DUMP_CL(CULL, map, "Cull");
    } else if (tag == 0x800000) {
       assert(size == (AGX_BIND_PIPELINE_LENGTH + 4));
 



More information about the mesa-commit mailing list