Skip to content

drm/i915: debugfs device parameters

Jani Nikula intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/params: add i915 parameters to debugfsdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_debugfs_params.c +3 more+294 -407 replies
2/2drm/i915/params: support bool values for int and uint paramsdrivers/gpu/drm/i915/i915_debugfs_params.c+14 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChris Wilson
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/2] drm/i915: debugfs device parameters

This is based on patches I sent over a year ago, adding device parameters to debugfs.

This would be the first step, making the debugfs only an alternative interface to the module parameters. The path forward would be:

* Add debugfs interface to parameters (this patch)

* Modify IGT to use this debugfs param interface if available, falling back to module param sysfs (for older kernels)

* Make module params read-only

* Make module params the initial values for really device specific parameters, i.e. duplicate the params struct in dev_priv and have the debugfs interface modify only that

* Start axing out unnecessary module parameters that can live in debugfs only

I tested this stuff way back when, this is an untested rebase for comments.

BR,
Jani.

Jani Nikula (2):
drm/i915/params: add i915 parameters to debugfs drm/i915/params: support bool values for int and uint params

 drivers/gpu/drm/i915/Makefile              |   5 +-
 drivers/gpu/drm/i915/i915_debugfs.c        |   4 +-
 drivers/gpu/drm/i915/i915_debugfs_params.c | 247 +++++++++++++++++++++
 drivers/gpu/drm/i915/i915_debugfs_params.h |  14 ++
 drivers/gpu/drm/i915/i915_params.c         |   2 +-
 drivers/gpu/drm/i915/i915_params.h         |  76 ++++---
 6 files changed, 308 insertions(+), 40 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs_params.c
 create mode 100644 drivers/gpu/drm/i915/i915_debugfs_params.h
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx