All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] drm/panfrost: Expose memory usage stats through fdinfo
@ 2023-01-04 13:03 Boris Brezillon
  2023-01-04 13:03 ` [PATCH RFC 1/4] drm/panfrost: Provide a dummy show_fdinfo() implementation Boris Brezillon
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Boris Brezillon @ 2023-01-04 13:03 UTC (permalink / raw)
  To: Rob Herring, Tomeu Vizoso, Alyssa Rosenzweig, Steven Price,
	Robin Murphy
  Cc: Boris Brezillon, Christopher Healy, dri-devel

Hello,

Here's an attempt at exposing some memory usage stats through fdinfo,
which recently proved useful in debugging a memory leak. Not entirely
sure the name I chose are accurate, so feel free to propose
alternatives, and let me know if you see any other mem-related stuff
that would be interesting to expose.

Regards,

Boris

Boris Brezillon (4):
  drm/panfrost: Provide a dummy show_fdinfo() implementation
  drm/panfrost: Track BO resident size
  drm/panfrost: Add a helper to retrieve MMU context stats
  drm/panfrost: Expose some memory related stats through fdinfo

 drivers/gpu/drm/panfrost/panfrost_drv.c       | 24 ++++++++++++++++-
 drivers/gpu/drm/panfrost/panfrost_gem.h       |  7 +++++
 .../gpu/drm/panfrost/panfrost_gem_shrinker.c  |  1 +
 drivers/gpu/drm/panfrost/panfrost_mmu.c       | 27 +++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_mmu.h       | 10 +++++++
 5 files changed, 68 insertions(+), 1 deletion(-)

-- 
2.38.1


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

end of thread, other threads:[~2023-01-23 11:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 13:03 [PATCH RFC 0/4] drm/panfrost: Expose memory usage stats through fdinfo Boris Brezillon
2023-01-04 13:03 ` [PATCH RFC 1/4] drm/panfrost: Provide a dummy show_fdinfo() implementation Boris Brezillon
2023-01-05 15:31   ` Daniel Vetter
2023-01-09  8:34     ` Boris Brezillon
2023-01-09 10:17       ` Daniel Vetter
2023-01-09 10:44         ` Boris Brezillon
2023-01-04 13:03 ` [PATCH RFC 2/4] drm/panfrost: Track BO resident size Boris Brezillon
2023-01-04 13:03 ` [PATCH RFC 3/4] drm/panfrost: Add a helper to retrieve MMU context stats Boris Brezillon
2023-01-04 13:03 ` [PATCH RFC 4/4] drm/panfrost: Expose some memory related stats through fdinfo Boris Brezillon
2023-01-23 11:18   ` Tvrtko Ursulin
2023-01-16 10:30 ` [PATCH RFC 0/4] drm/panfrost: Expose memory usage " Steven Price
2023-01-16 11:05   ` Boris Brezillon
2023-01-16 12:21     ` Steven Price

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.