mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/2] drm/panthor: Display size of internal kernel BOs through fdinfo
@ 2025-01-02 20:38 Adrián Larumbe
  2025-01-02 20:38 ` [PATCH v6 1/2] drm/panthor: Expose size of driver internal BO's over fdinfo Adrián Larumbe
  2025-01-02 20:38 ` [PATCH v6 2/2] Documentation/gpu: Add fdinfo meanings of drm-*-internal memory tags Adrián Larumbe
  0 siblings, 2 replies; 4+ messages in thread
From: Adrián Larumbe @ 2025-01-02 20:38 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, Mihail Atanassov, dri-devel, linux-kernel

This patch series enables display of the size of driver-owned shmem BO's that aren't
exposed to userspace through a DRM handle.

Discussion of previous revision can be found here [1].

Changelog:
v6:
 - Replace up_write with up_read, which was left out in the previous version
 - Fixed some minor comment and documentation issues reported by the kernel test robot
v5:
 - Replaced down_write semaphore with the read flavour
 - Fixed typo and added explicit description for drm-shared-internal in
 the fdinfo documentation file for Panthor.
v4:
 - Remove unrelated formating fix
 - Moved calculating overall size of a group's kernel BO's into
 its own static helper.
 - Renamed group kernel BO's size aggregation function to better
 reflect its actual responsibility.

[1] https://lore.kernel.org/dri-devel/20241218181844.886043-1-adrian.larumbe@collabora.com/

Adrián Larumbe (2):
  drm/panthor: Expose size of driver internal BO's over fdinfo
  Documentation/gpu: Add fdinfo meanings of drm-*-internal memory tags

 Documentation/gpu/panthor.rst           | 14 +++++++
 drivers/gpu/drm/panthor/panthor_drv.c   | 12 ++++++
 drivers/gpu/drm/panthor/panthor_heap.c  | 26 +++++++++++++
 drivers/gpu/drm/panthor/panthor_heap.h  |  2 +
 drivers/gpu/drm/panthor/panthor_mmu.c   | 35 +++++++++++++++++
 drivers/gpu/drm/panthor/panthor_mmu.h   |  3 ++
 drivers/gpu/drm/panthor/panthor_sched.c | 52 ++++++++++++++++++++++++-
 drivers/gpu/drm/panthor/panthor_sched.h |  2 +
 8 files changed, 145 insertions(+), 1 deletion(-)

-- 
2.47.0


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

end of thread, other threads:[~2025-01-03  1:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-02 20:38 [PATCH v6 0/2] drm/panthor: Display size of internal kernel BOs through fdinfo Adrián Larumbe
2025-01-02 20:38 ` [PATCH v6 1/2] drm/panthor: Expose size of driver internal BO's over fdinfo Adrián Larumbe
2025-01-03  1:27   ` kernel test robot
2025-01-02 20:38 ` [PATCH v6 2/2] Documentation/gpu: Add fdinfo meanings of drm-*-internal memory tags Adrián Larumbe

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

Powered by JetHome