[PATCH 0/3] drm/panfrost: Wire cycle counters and timestamp info to userspace
From: Mary Guillemard
Date: Wed Aug 07 2024 - 12:10:57 EST
Mali has hardware cycle counters and GPU timestamps available for
profiling.
This patch series adds support for cycle counters propagation and
also new timestamp info parameters.
Those new changes to the uAPI will be used in Mesa to implement
timestamp queries for OpenGL and Vulkan.
Mary Guillemard (3):
drm/panfrost: Add SYSTEM_TIMESTAMP and SYSTEM_TIMESTAMP_FREQUENCY
parameters
drm/panfrost: Add cycle counter job requirement
drm/panfrost: Handle JD_REQ_CYCLE_COUNT
drivers/gpu/drm/panfrost/panfrost_drv.c | 25 +++++++++++++++++++++++--
drivers/gpu/drm/panfrost/panfrost_job.c | 10 ++++++++++
include/uapi/drm/panfrost_drm.h | 3 +++
3 files changed, 36 insertions(+), 2 deletions(-)
base-commit: f7f3ddb6e5c8dc7b621fd8c0903ea42190d67452
--
2.45.2