public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Panthor BO tagging and GEMS debug display
@ 2025-03-16 21:51 Adrián Larumbe
  2025-03-16 21:51 ` [PATCH 1/4] drm/panthor: Introduce BO labeling Adrián Larumbe
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Adrián Larumbe @ 2025-03-16 21:51 UTC (permalink / raw)
  To: Boris Brezillon, Steven Price, Liviu Dudau, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: kernel, Adrián Larumbe, dri-devel, linux-kernel

This patch series is aimed at providing UM with detailed memory profiling
information in debug builds. It is achieved through a device-wide list of
DRM GEM objects, and also implementing the ability to label BO's from UM
through a new IOCTL.

The new debugfs file shows a list of driver DRM GEM objects in tabular mode.
To visualise it, cat sudo cat /sys/kernel/debug/dri/*.gpu/gems.
To test this functionality from UM, please refer to this Mesa patch series:

https://gitlab.collabora.com/alarumbe/mesa/-/commits/bo-tagging-panthor-gl

Adrián Larumbe (4):
  drm/panthor: Introduce BO labeling
  drm/panthor: Add driver IOCTL for setting BO labels
  drm/panthor: show device-wide list of DRM GEM objects over DebugFS
  drm/panthor: Display heap chunk entries in DebugFS GEMS file

 drivers/gpu/drm/panthor/panthor_device.c |   5 +
 drivers/gpu/drm/panthor/panthor_device.h |   8 ++
 drivers/gpu/drm/panthor/panthor_drv.c    |  57 +++++++++++
 drivers/gpu/drm/panthor/panthor_gem.c    | 119 +++++++++++++++++++++++
 drivers/gpu/drm/panthor/panthor_gem.h    |  34 +++++++
 drivers/gpu/drm/panthor/panthor_heap.c   |  15 +++
 include/uapi/drm/panthor_drm.h           |  14 +++
 7 files changed, 252 insertions(+)

--
2.48.1

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

end of thread, other threads:[~2025-03-19 16:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-16 21:51 [PATCH 0/4] Panthor BO tagging and GEMS debug display Adrián Larumbe
2025-03-16 21:51 ` [PATCH 1/4] drm/panthor: Introduce BO labeling Adrián Larumbe
2025-03-17  7:45   ` Boris Brezillon
2025-03-16 21:51 ` [PATCH 2/4] drm/panthor: Add driver IOCTL for setting BO labels Adrián Larumbe
2025-03-17  7:50   ` Boris Brezillon
2025-03-19 13:49     ` Adrián Larumbe
2025-03-19 16:28       ` Boris Brezillon
2025-03-17  7:54   ` Boris Brezillon
2025-03-16 21:51 ` [PATCH 3/4] drm/panthor: show device-wide list of DRM GEM objects over DebugFS Adrián Larumbe
2025-03-17  8:26   ` Boris Brezillon
2025-03-16 21:51 ` [PATCH 4/4] drm/panthor: Display heap chunk entries in DebugFS GEMS file Adrián Larumbe
2025-03-17  8:31   ` Boris Brezillon
2025-03-19 13:18     ` Adrián Larumbe
2025-03-19 16:39       ` Boris Brezillon

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