From: "Adrián Larumbe" <adrian.larumbe@collabora.com>
To: robh@kernel.org, steven.price@arm.com, airlied@gmail.com,
daniel@ffwll.ch
Cc: dri-devel@lists.freedesktop.org, kernel@collabora.com,
linux-kernel@vger.kernel.org, adrian.larumbe@collabora.com
Subject: [PATCH 0/2] Add fdinfo support to Panfrost
Date: Tue, 8 Aug 2023 23:22:37 +0100 [thread overview]
Message-ID: <20230808222240.1016623-1-adrian.larumbe@collabora.com> (raw)
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
next reply other threads:[~2023-08-08 22:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 22:22 Adrián Larumbe [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230808222240.1016623-1-adrian.larumbe@collabora.com \
--to=adrian.larumbe@collabora.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=steven.price@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®