]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/v3d: Create a new V3D parameter for the maximum number of perfcnt
authorMaíra Canal <mcanal@igalia.com>
Sun, 12 May 2024 22:23:26 +0000 (19:23 -0300)
committerMaíra Canal <mcanal@igalia.com>
Mon, 20 May 2024 19:38:01 +0000 (16:38 -0300)
commit36b75080e68b4a27ae1c40beffb3d6131f8eeeff
tree24991865b0b407fd28ea95527ca12cbdcaa82fcf
parentc606043ddbf0eb52cac057565ab379e18932a8bf
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
drivers/gpu/drm/v3d/v3d_drv.c
include/uapi/drm/v3d_drm.h