mbox series

[0/3] drm/panfrost: Wire cycle counters and timestamp info to userspace

Message ID 20240807160900.149154-1-mary.guillemard@collabora.com (mailing list archive)
Headers show
Series drm/panfrost: Wire cycle counters and timestamp info to userspace | expand

Message

Mary Guillemard Aug. 7, 2024, 4:08 p.m. UTC
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