[PATCH 0/2] Add fdinfo support to Panfrost

Adrián Larumbe posted 2 patches 2 years, 1 month ago
There is a newer version of this series
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(-)
[PATCH 0/2] Add fdinfo support to Panfrost
Posted by Adrián Larumbe 2 years, 1 month ago
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