Mesa (main): pan/va: Make subgroup 4-bits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 18 16:13:55 UTC 2022


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu Feb 17 14:07:34 2022 -0500

pan/va: Make subgroup 4-bits

Future proofing.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15069>

---

 src/panfrost/bifrost/valhall/valhall.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/bifrost/valhall/valhall.py b/src/panfrost/bifrost/valhall/valhall.py
index c583244797b..eab9982bfa8 100644
--- a/src/panfrost/bifrost/valhall/valhall.py
+++ b/src/panfrost/bifrost/valhall/valhall.py
@@ -354,7 +354,7 @@ MODIFIERS = {
     "clamp": Modifier("clamp", 32, 2),
     "sr_count": Modifier("staging_register_count", 33, 3, implied = True),
 
-    "subgroup": Modifier("subgroup_size", 36, 2),
+    "subgroup": Modifier("subgroup_size", 36, 4),
     "update": Modifier("update_mode", 36, 2),
     "sample": Modifier("sample_mode", 38, 2),
 }



More information about the mesa-commit mailing list