[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240302154845.3223223-2-adrian.larumbe@collabora.com>
Date: Sat, 2 Mar 2024 15:48:40 +0000
From: Adrián Larumbe <adrian.larumbe@...labora.com>
To: Boris Brezillon <boris.brezillon@...labora.com>,
Rob Herring <robh@...nel.org>,
Steven Price <steven.price@....com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Jonathan Corbet <corbet@....net>
Cc: Adrián Larumbe <adrian.larumbe@...labora.com>,
linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-doc@...r.kernel.org
Subject: [PATCH v2 0/1] drm/panfrost: Replace fdinfo's profiling debugfs knob
This is v2 of the patch already discussed in [1]
Changelog:
- 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
[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 | 5 +-
drivers/gpu/drm/panfrost/panfrost_debugfs.c | 21 ------
drivers/gpu/drm/panfrost/panfrost_debugfs.h | 14 ----
drivers/gpu/drm/panfrost/panfrost_device.h | 5 +-
drivers/gpu/drm/panfrost/panfrost_drv.c | 14 ++--
drivers/gpu/drm/panfrost/panfrost_job.c | 2 +-
drivers/gpu/drm/panfrost/panfrost_sysfs.c | 70 +++++++++++++++++++
drivers/gpu/drm/panfrost/panfrost_sysfs.h | 15 ++++
10 files changed, 120 insertions(+), 45 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
create mode 100644 drivers/gpu/drm/panfrost/panfrost_sysfs.c
create mode 100644 drivers/gpu/drm/panfrost/panfrost_sysfs.h
base-commit: 216c1282dde38ca87ebdf1ccacee5a0682901574
--
2.43.0
Powered by blists - more mailing lists