mesa/src/broadcom/common
Jose Maria Casanova Crespo b640985aab broadcom/common: fix V3D 7.1 TFU ICFG IFORMAT values
The V3D 7.1 TFU ICFG register restructured the IFORMAT field to 3 bits
(25:23) vs 4 bits on V3D 4.2. The defines were still using the V3D 4.2
encoding (11-15) which overflows the 3-bit field. Fix values to the
correct 3-7 range.

This was working by accident because the overflow bits land in the
SVTWID field, which is not used for the affected tiling formats.

Also rename SAND_128 to SAND since V3D 7.1 has a single SAND input
format; the tile width is now controlled by SVTWID.

Fixes: 146ceadcf4 ("v3dv: add support for TFU jobs in v71")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit 89229f08bb)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
2026-04-01 11:45:33 +02:00
..
v3d_cpu_tiling.h tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
v3d_csd.h v3d/v3dv: move V3D_CSD definitions to a separate file 2023-12-14 16:43:13 +00:00
v3d_debug.c all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
v3d_debug.h all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
v3d_device_info.c broadcom: check for GPU reset counters support 2025-07-30 11:26:20 +02:00
v3d_device_info.h broadcom: check for GPU reset counters support 2025-07-30 11:26:20 +02:00
v3d_limits.h v3d,v3dv: set max supertiles to 256 2025-06-03 11:21:14 +00:00
v3d_macros.h broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
v3d_performance_counters.h broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
v3d_tfu.h broadcom/common: fix V3D 7.1 TFU ICFG IFORMAT values 2026-04-01 11:45:33 +02:00
v3d_tiling.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
v3d_tiling.h broadcom/(compiler,common): avoid include of gallium headers in header files 2023-12-12 10:03:10 +00:00
v3d_util.c broadcom/common: Add subgroup support to CSD super-group packing 2025-10-13 08:25:24 +02:00
v3d_util.h broadcom/common: Add subgroup support to CSD super-group packing 2025-10-13 08:25:24 +02:00