mesa/src/broadcom/common
Alejandro Piñeiro 5eee101477 broadcom: move HW-dependant constants to v3d_device_info
Right now we have some HW-dependant constants that we are accessing
using the same mechanism that some hw-dependant functions, through a
macro (V3DV_X macro).

But this means that each time that we need to get those constant
values, we need to do a hw version check. Also, right now both the
macro and the defines with each HW value are duplicated on v3d and
v3dv. Also that macro is ugly and has a ugly name.

This commit moves those values to the already common v3d_device_info
structure.

Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29535>
2024-06-05 17:14:59 +00: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 v3d: document that V3D_DEBUG=shaderdb is *not* for shader-db 2023-04-24 10:01:00 +00:00
v3d_debug.h v3dv/debug: add debug option to disable TFU codepaths 2023-03-17 15:20:25 +00:00
v3d_device_info.c broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3d_device_info.h broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3d_limits.h v3dv: V3D_CL_MAX_INSTR_SIZE bytes in last CL instruction not needed 2024-05-22 18:44: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 v3dv: add support for TFU jobs in v71 2023-10-13 22:37:43 +00:00
v3d_tiling.c broadcom/common: Now "util/box.h" is under src, so remove the FIXME 2024-04-22 15:01:34 +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 v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00
v3d_util.h v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00