Hello, This series makes use of the VC4 perfmon ioctls to expose HW perf counters through the GL_AMD_performance_monitor interface.
This patches depends on their kernel counterparts and should not be applied until the kernel patches have reached the drm tree. Regards, Boris Changes in v2: - Drop the extended CL stuff - Fix bugs reported by Eric (see changelog in patch 2) Boris Brezillon (2): drm-uapi: Update vc4 header with perfmon related definitions broadcom/vc4: Add support for HW perfmon include/drm-uapi/vc4_drm.h | 67 ++++++++++ src/gallium/drivers/vc4/vc4_context.h | 18 +++ src/gallium/drivers/vc4/vc4_job.c | 7 ++ src/gallium/drivers/vc4/vc4_query.c | 228 ++++++++++++++++++++++++++++++++-- src/gallium/drivers/vc4/vc4_screen.c | 7 ++ src/gallium/drivers/vc4/vc4_screen.h | 1 + 6 files changed, 316 insertions(+), 12 deletions(-) -- 2.11.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev