Mesa (main): asahi: Sync attachment magic with asahi demo

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 6 13:55:47 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Mon Jul  5 19:27:45 2021 -0400

asahi: Sync attachment magic with asahi demo

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

---

 src/gallium/drivers/asahi/magic.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/asahi/magic.c b/src/gallium/drivers/asahi/magic.c
index 742306d5f8c..6d4ff6a9de4 100644
--- a/src/gallium/drivers/asahi/magic.c
+++ b/src/gallium/drivers/asahi/magic.c
@@ -233,9 +233,9 @@ demo_cmdbuf(uint64_t *buf, size_t size,
    agx_pack((cmdbuf->map + cmdbuf->offset), IOGPU_ATTACHMENT, cfg) {
       cfg.address = rt0;
       cfg.type = AGX_IOGPU_ATTACHMENT_TYPE_COLOUR;
-      cfg.unk_1 = 0x4c000000;
+      cfg.unk_1 = 0x80000000;
       cfg.unk_2 = 0x5;
-      cfg.bytes_per_pixel = 3;
+      cfg.bytes_per_pixel = 4;
       cfg.percent = 100;
    }
 



More information about the mesa-commit mailing list