mesa/src
Tomeu Vizoso ac0d6e7b7c ethosu: Properly emit IFM_BROADCAST and IFM2_BROADCAST on U85
On U85, both NPU_SET_IFM_BROADCAST and NPU_SET_IFM2_BROADCAST must be
emitted for elementwise operations, matching Vela's GenerateInputBroadcast.

Add calc_broadcast_mode() matching Vela's CalculateBroadcast(): broadcasts
a dimension of shape1 when it is 1 and shape2 is larger, producing a
broadcast_mode bitmask (H=1, W=2, C=4, SCALAR=8).

Split emit_ifm2_broadcast into U65 (legacy bitfields) and U85 paths.
The U85 path emits both IFM_BROADCAST and IFM2_BROADCAST using
calc_broadcast_mode in each direction.

Also fix emit_eltwise to call emit_ifm2_precision instead of
emit_ifm_broadcast for U85, which was emitting 0 instead of the
required IFM2_PRECISION register.

Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39611>
2026-03-23 07:45:59 +00:00
..
amd Final rename of sha1 names to blake3 2026-03-23 07:03:28 +00:00
android_stub
asahi Rename SHA1 words to BLAKE3 2026-03-23 07:03:28 +00:00
broadcom Final rename of sha1 names to blake3 2026-03-23 07:03:28 +00:00
c11
compiler Change remaining SHA-1 occurences to BLAKE3 2026-03-23 07:03:28 +00:00
drm-shim
egl wsi/wayland: Use wl_fixes to destroy wl_registry 2026-03-12 16:24:33 +00:00
etnaviv Uprev Piglit to d0a16eee4f7b24abe7e3aab6ee77db8f82e5ad49 2026-03-14 00:35:59 +01:00
freedreno Rename *_sha1 names to *_blake3 2026-03-23 07:03:28 +00:00
gallium ethosu: Properly emit IFM_BROADCAST and IFM2_BROADCAST on U85 2026-03-23 07:45:59 +00:00
gbm
getopt
gfxstream gfxstream: fixes to get Fuchsia headless to compile 2026-03-17 16:25:53 +00:00
glx glx: guard glx_screen frontend_screen member 2026-03-10 01:53:15 +00:00
gtest
imagination Rename sha1_* and sha_* names to blake3_* 2026-03-23 07:03:28 +00:00
imgui
intel Final rename of sha1 names to blake3 2026-03-23 07:03:28 +00:00
kosmickrisp Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa Rename *_sha1 names to *_blake3 2026-03-23 07:03:28 +00:00
microsoft Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
nouveau Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
panfrost Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util driconf: rename sha1 option to blake3 2026-03-23 07:03:28 +00:00
virtio Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
vulkan Final rename of sha1 names to blake3 2026-03-23 07:03:28 +00:00
x11 x11: Add helper util to check for xshm support 2026-03-06 01:18:53 +00:00
.clang-format
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00