[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240306015819.822128-1-adrian.larumbe@collabora.com>
Date: Wed, 6 Mar 2024 01:56:35 +0000
From: Adrián Larumbe <adrian.larumbe@...labora.com>
To: boris.brezillon@...labora.com,
robh@...nel.org,
steven.price@....com,
airlied@...il.com,
daniel@...ll.ch,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
corbet@....net
Cc: kernel@...labora.com,
adrian.larumbe@...labora.com,
linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-doc@...r.kernel.org
Subject: [PATCH v3 0/1] drm/panfrost: Replace fdinfo's profiling debugfs knob
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
Powered by blists - more mailing lists