All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Panfrost BO tagging and GEMS debug display
@ 2025-05-20 17:43 Adrián Larumbe
  2025-05-20 17:43 ` [PATCH v3 1/5] drm/panfrost: Add BO labelling to Panfrost Adrián Larumbe
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Adrián Larumbe @ 2025-05-20 17:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: dri-devel, Boris Brezillon, kernel, Adrián Larumbe

This patch series is a Panfrost port of the already merged patches
previously discussed at [1].

The differences are minimal. In this latest revision, the notion of internal BOs, akin to
that of Panthor kernel-only BO's has been introduced, so that the perfcnt sample buffer and
imported PRIME objects can be given a tag.

The under-discussion Mesa MR that would allow one to test these changes can be found at [2].

The way BO flags is printed is also slightly different.

Changelog:

v3:
 - Fixed spelling of Panfrost device pointer variable names
 - Fixed invalid memory access bug when freeing Panfrost GEM objects for PRIME imported buffers
 - Added function for internally tagging BOs (mainly for the perfcnt sample buffer)
 - Added new commit for fixing Panfrost Device variable spelling mistakes.
v2:
 - Introduced u64_to_user_ptr() for casting user pointers
 - Refined documentation for uAPI bo labelling struct fields
 - Moved panfrost device debugfs struct fields into a single debugfs struct
 - Add BO to debugfs GEMs list right before creating its handle to avoid unnecessary initialised field.

[1] https://lore.kernel.org/dri-devel/20250507160713.1363985-1-adrian.larumbe@collabora.com/
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34224

Adrián Larumbe (5):
  drm/panfrost: Add BO labelling to Panfrost
  drm/panfrost: Internally label some BOs
  drm/panfrost: Add driver IOCTL for setting BO labels
  drm/panfrost: show device-wide list of DRM GEM objects over DebugFS
  drm/panfrost: Fix panfrost device variable name in devfreq

 drivers/gpu/drm/panfrost/panfrost_devfreq.c |   4 +-
 drivers/gpu/drm/panfrost/panfrost_device.c  |   5 +
 drivers/gpu/drm/panfrost/panfrost_device.h  |  15 ++
 drivers/gpu/drm/panfrost/panfrost_drv.c     |  79 ++++++++-
 drivers/gpu/drm/panfrost/panfrost_gem.c     | 186 ++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_gem.h     |  66 +++++++
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c |   2 +
 include/uapi/drm/panfrost_drm.h             |  21 +++
 8 files changed, 375 insertions(+), 3 deletions(-)


base-commit: 9ff4fdf4f44b69237c0afc1d3a8dac916ce66f3e
--
2.48.1

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

end of thread, other threads:[~2025-06-02 12:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20 17:43 [PATCH v3 0/5] Panfrost BO tagging and GEMS debug display Adrián Larumbe
2025-05-20 17:43 ` [PATCH v3 1/5] drm/panfrost: Add BO labelling to Panfrost Adrián Larumbe
2025-05-21  6:09   ` Boris Brezillon
2025-06-02 12:55   ` Steven Price
2025-05-20 17:43 ` [PATCH v3 2/5] drm/panfrost: Internally label some BOs Adrián Larumbe
2025-05-21  6:09   ` Boris Brezillon
2025-05-21 15:52   ` Steven Price
2025-05-20 17:44 ` [PATCH v3 3/5] drm/panfrost: Add driver IOCTL for setting BO labels Adrián Larumbe
2025-05-20 17:44 ` [PATCH v3 4/5] drm/panfrost: show device-wide list of DRM GEM objects over DebugFS Adrián Larumbe
2025-05-21  6:10   ` Boris Brezillon
2025-05-21 15:52   ` Steven Price
2025-05-20 17:44 ` [PATCH v3 5/5] drm/panfrost: Fix panfrost device variable name in devfreq Adrián Larumbe
2025-05-21  6:12   ` Boris Brezillon
2025-05-21 15:52   ` 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.