From: "Adrián Larumbe" <adrian.larumbe@collabora.com>
To: boris.brezillon@collabora.com, robh@kernel.org,
steven.price@arm.com, airlied@gmail.com, daniel@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, corbet@lwn.net
Cc: kernel@collabora.com, adrian.larumbe@collabora.com,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-doc@vger.kernel.org
Subject: [PATCH v3 0/1] drm/panfrost: Replace fdinfo's profiling debugfs knob
Date: Wed, 6 Mar 2024 01:56:35 +0000 [thread overview]
Message-ID: <20240306015819.822128-1-adrian.larumbe@collabora.com> (raw)
This is v3 of the patch already discussed in [2] and [1]
Changelog:
v3:
- Replaced manual kobj initialisation with a device attribute
- Handle user input with kstrtobool instead of treating it as an uint
v2:
- Turned the profile mode atomic variable into a boolean
- Rewrote the sysfs file's uAPI documentation to make it more generic
- Improved the casting of the profiling variable inside the Panfrost device structure
[2]https://lore.kernel.org/dri-devel/20240302154845.3223223-2-adrian.larumbe@collabora.com/
[1]https://lore.kernel.org/dri-devel/20240221161237.2478193-1-adrian.larumbe@collabora.com/
Adrián Larumbe (1):
drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfs
.../testing/sysfs-driver-panfrost-profiling | 10 +++++
Documentation/gpu/panfrost.rst | 9 ++++
drivers/gpu/drm/panfrost/Makefile | 2 -
drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ----------
drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 -------
drivers/gpu/drm/panfrost/panfrost_device.h | 2 +-
drivers/gpu/drm/panfrost/panfrost_drv.c | 41 ++++++++++++++++---
drivers/gpu/drm/panfrost/panfrost_job.c | 2 +-
8 files changed, 57 insertions(+), 44 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-panfrost-profiling
delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.c
delete mode 100644 drivers/gpu/drm/panfrost/panfrost_debugfs.h
base-commit: e635b7eb7062b464bbd9795308b1a80eac0b01f5
--
2.43.0
next reply other threads:[~2024-03-06 1:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 1:56 Adrián Larumbe [this message]
2024-03-06 1:56 ` [PATCH v3 1/1] drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfs Adrián Larumbe
2024-03-06 8:33 ` Tvrtko Ursulin
2024-03-11 10:02 ` Boris Brezillon
2024-03-12 0:47 ` Adrián Larumbe
2024-03-06 8:41 ` Boris Brezillon
2024-03-06 14:31 ` Steven Price
2024-03-11 10:00 ` Boris Brezillon
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=20240306015819.822128-1-adrian.larumbe@collabora.com \
--to=adrian.larumbe@collabora.com \
--cc=airlied@gmail.com \
--cc=boris.brezillon@collabora.com \
--cc=corbet@lwn.net \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@collabora.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=steven.price@arm.com \
--cc=tzimmermann@suse.de \
/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®