Skip to content

drm/panfrost: Replace fdinfo's profiling debugfs knob

Adrián Larumbe dri-devel linux-doc lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 6 repliesIn review
  2. v21 patch 2 repliesSuperseded
  3. v11 patch 4 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfsDocumentation/ABI/testing/sysfs-driver-panfrost-profiling Documentation/gpu/panfrost.rst drivers/gpu/drm/panfrost/Makefile +5 more+57 -446 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchBoris BrezillonSteven Price
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [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/[email protected]/ [1]https://lore.kernel.org/dri-devel/[email protected]/

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

Signature · 1 line
2.43.0