dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add fdinfo support to Panfrost
@ 2023-08-08 22:22 Adrián Larumbe
  2023-08-08 22:22 ` [PATCH 1/2] drm/panfrost: " Adrián Larumbe
  2023-08-08 22:22 ` [PATCH 2/2] drm/panfrost: Add drm memory stats display through fdinfo Adrián Larumbe
  0 siblings, 2 replies; 6+ messages in thread
From: Adrián Larumbe @ 2023-08-08 22:22 UTC (permalink / raw)
  To: robh, steven.price, airlied, daniel
  Cc: adrian.larumbe, kernel, linux-kernel, dri-devel

This patch series adds basic fdinfo support to the Panfrost DRM driver.
It will display a series of key:value pairs under /proc/pid/fdinfo/fd
for render processes that open the Panfrost DRM file.

The pairs contain basic drm gpu engine and memory region information that
can either be cat by a privileged user or accessed with IGT's gputop
utility.

Adrián Larumbe (2):
  drm/panfrost: Add fdinfo support to Panfrost
  drm/panfrost: Add drm memory stats display through fdinfo

 drivers/gpu/drm/panfrost/panfrost_device.c | 12 +++++++
 drivers/gpu/drm/panfrost/panfrost_device.h | 10 ++++++
 drivers/gpu/drm/panfrost/panfrost_drv.c    | 40 ++++++++++++++++++++--
 drivers/gpu/drm/panfrost/panfrost_gem.c    | 16 +++++++++
 drivers/gpu/drm/panfrost/panfrost_gem.h    |  1 +
 drivers/gpu/drm/panfrost/panfrost_job.c    |  6 ++++
 drivers/gpu/drm/panfrost/panfrost_job.h    |  3 ++
 7 files changed, 85 insertions(+), 3 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-08-23 12:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 22:22 [PATCH 0/2] Add fdinfo support to Panfrost Adrián Larumbe
2023-08-08 22:22 ` [PATCH 1/2] drm/panfrost: " Adrián Larumbe
2023-08-21 15:56   ` Steven Price
2023-08-23 12:55     ` Adrián Larumbe
2023-08-08 22:22 ` [PATCH 2/2] drm/panfrost: Add drm memory stats display through fdinfo Adrián Larumbe
2023-08-21 15:56   ` Steven Price

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