[PATCH 0/3] drm/panfrost: Wire cycle counters and timestamp info to userspace
Mary Guillemard
mary.guillemard at collabora.com
Wed Aug 7 16:08:56 UTC 2024
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
More information about the dri-devel
mailing list