mesa/src/broadcom/simulator
Iago Toral Quiroga 6c73c9bb16 v3d/simulator: size counter_values array correctly on V3D 7.x
sim_state.perfcnt_total provides the total number of counters
supported by the underlying simulated platform and is what we
use when we create a perform to validate that the counters
requested are valid, so we should use this.

V3D_PERFCNT_NUM is a fixed enum value that is only valid for
V3D 4.2 at present and is not sufficiently large for all the
counters available in V3D 7.x.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28870>
2024-04-23 11:20:08 +00:00
..
meson.build v3d,v3d: use new simulator 2024-03-11 10:23:48 +00:00
v3d_simulator.c v3d/simulator: size counter_values array correctly on V3D 7.x 2024-04-23 11:20:08 +00:00
v3d_simulator.h broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
v3d_simulator_wrapper.cpp v3d,v3d: use new simulator 2024-03-11 10:23:48 +00:00
v3d_simulator_wrapper.h v3d,v3d: use new simulator 2024-03-11 10:23:48 +00:00
v3dx_simulator.c v3d,v3d: use new simulator 2024-03-11 10:23:48 +00:00
v3dx_simulator.h broadcom/simulator: add per-hw version calls 2023-10-13 22:37:44 +00:00