mbox series

[0/2] Support fdinfo runtime and memory stats on Panthor

Message ID 20240305211000.659103-1-adrian.larumbe@collabora.com (mailing list archive)
Headers show
Series Support fdinfo runtime and memory stats on Panthor | expand

Message

Adrián Larumbe March 5, 2024, 9:05 p.m. UTC
This patch series enables userspace utilities like gputop and nvtop to
query a render context's fdinfo file and figure out rates of engine
and memory utilisation.

Adrián Larumbe (2):
  drm/panthor: Enable fdinfo for cycle and time measurements
  drm/panthor: Enable fdinfo for memory stats

 drivers/gpu/drm/panthor/panthor_devfreq.c |  10 +
 drivers/gpu/drm/panthor/panthor_device.h  |  11 ++
 drivers/gpu/drm/panthor/panthor_drv.c     |  32 ++++
 drivers/gpu/drm/panthor/panthor_gem.c     |  12 ++
 drivers/gpu/drm/panthor/panthor_sched.c   | 217 +++++++++++++++++++---
 5 files changed, 254 insertions(+), 28 deletions(-)


base-commit: e635b7eb7062b464bbd9795308b1a80eac0b01f5