public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Always record job cycle and timestamp information
@ 2024-02-14 12:14 Adrián Larumbe
  2024-02-14 12:14 ` [PATCH 1/1] drm/panfrost: " Adrián Larumbe
  2024-02-14 13:52 ` [PATCH 0/1] " Steven Price
  0 siblings, 2 replies; 9+ messages in thread
From: Adrián Larumbe @ 2024-02-14 12:14 UTC (permalink / raw)
  To: Boris Brezillon, Rob Herring, Steven Price, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter
  Cc: Adrián Larumbe, linux-kernel, dri-devel

A driver user expressed interest in being able to access engine usage stats
through fdinfo when debugfs is not built into their kernel. In the current
implementation, this wasn't possible, because it was assumed even for
inflight jobs enabling the cycle counter and timestamp registers would
incur in additional power consumption, so both were kept disabled until
toggled through debugfs.

A second read of the TRM made me think otherwise, but this is something
that would be best clarified by someone from ARM's side.

Adrián Larumbe (1):
  drm/panfrost: Always record job cycle and timestamp information

 drivers/gpu/drm/panfrost/Makefile           |  2 --
 drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------------------
 drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ------------
 drivers/gpu/drm/panfrost/panfrost_device.h  |  1 -
 drivers/gpu/drm/panfrost/panfrost_drv.c     |  5 -----
 drivers/gpu/drm/panfrost/panfrost_job.c     | 24 ++++++++-------------
 drivers/gpu/drm/panfrost/panfrost_job.h     |  1 -
 7 files changed, 9 insertions(+), 59 deletions(-)
 delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c
 delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h


base-commit: 6b1f93ea345947c94bf3a7a6e668a2acfd310918
-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-28 14:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 12:14 [PATCH 0/1] Always record job cycle and timestamp information Adrián Larumbe
2024-02-14 12:14 ` [PATCH 1/1] drm/panfrost: " Adrián Larumbe
2024-02-14 13:52 ` [PATCH 0/1] " Steven Price
2024-02-16 16:57   ` Daniel Vetter
2024-02-16 17:43     ` Tvrtko Ursulin
2024-02-21  9:40       ` Adrián Larumbe
2024-02-21 14:34         ` Tvrtko Ursulin
2024-02-21 15:13           ` Adrián Larumbe
2024-02-28 14:13             ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox