mesa/src/broadcom
Maíra Canal 273ba51d7f broadcom/common: Add maximum number of perf counters to v3d_device_info
Now, the kernel has the ability to inform about the maximum number of
performance counters of a V3D device. Let's add this information to the
`struct v3d_device_info` to use it when performing performance queries.

From now on, V3D_PERFCNT_NUM must not be used to retrieve the maximum
number of performance counters. We must use `devinfo->max_perfcnt`,
except on the case that the kernel doesn't support DRM_V3D_PARAM_MAX_PERF_COUNTERS.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29154>
2024-05-22 05:37:47 +00:00
..
ci v3d/vc4/ci: set full renderer version check 2024-05-10 15:00:44 +00:00
cle broadcom/cle: fix up shader record for V3D 7.1.10 / 2712D0 2024-05-15 13:57:10 +00:00
clif broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
common broadcom/common: Add maximum number of perf counters to v3d_device_info 2024-05-22 05:37:47 +00:00
compiler nir,v3d: rename tlb_color_v3d intrinsic 2024-05-13 10:44:17 +00:00
drm-shim broadcom/compiler: remove include of gallium headers from meson.build 2023-12-12 10:03:11 +00:00
qpu broadcom/compiler: add new SFU instructions in V3D 7.x 2024-01-31 10:06:06 +00:00
simulator v3d/simulator: size counter_values array correctly on V3D 7.x 2024-04-23 11:20:08 +00:00
vulkan v3dv/meta_clear: use v3dv_renderpass used as parameter 2024-05-20 10:01:33 +02:00
.editorconfig
meson.build broadcom/common: Now "util/box.h" is under src, so remove the FIXME 2024-04-22 15:01:34 +00:00