[Mesa-dev] [PATCH v2 0/2] broadcom/v4: Expose VC4 HW perf counters
Boris Brezillon
boris.brezillon at free-electrons.com
Thu Jan 11 09:22:02 UTC 2018
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
More information about the mesa-dev
mailing list