summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2024-05-12 19:23:26 -0300
committerMaíra Canal <mcanal@igalia.com>2024-05-20 16:38:01 -0300
commit36b75080e68b4a27ae1c40beffb3d6131f8eeeff (patch)
tree24991865b0b407fd28ea95527ca12cbdcaa82fcf /include/uapi
parentc606043ddbf0eb52cac057565ab379e18932a8bf (diff)
drm/v3d: Create a new V3D parameter for the maximum number of perfcnt
The maximum number of performance counters can change from version to version and it's important for userspace to know this value, as it needs to use the counters for performance queries. Therefore, expose the maximum number of performance counters to userspace as a parameter. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240512222655.2792754-4-mcanal@igalia.com
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/v3d_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/v3d_drm.h b/include/uapi/drm/v3d_drm.h
index dce1835eced4..215b01bb69c3 100644
--- a/include/uapi/drm/v3d_drm.h
+++ b/include/uapi/drm/v3d_drm.h
@@ -286,6 +286,7 @@ enum drm_v3d_param {
DRM_V3D_PARAM_SUPPORTS_PERFMON,
DRM_V3D_PARAM_SUPPORTS_MULTISYNC_EXT,
DRM_V3D_PARAM_SUPPORTS_CPU_QUEUE,
+ DRM_V3D_PARAM_MAX_PERF_COUNTERS,
};
struct drm_v3d_get_param {