Skip to content

Use device dependant module parameters

Juha-Pekka Heikkila igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/params: add igt_params.c for module parameter accesslib/Makefile.sources lib/i915/gem_submission.c lib/igt.h +10 more+291 -2180 replies
2/8lib/params: start renaming functions igt_params_*lib/drmtest.c lib/i915/gem_submission.c lib/igt_aux.c +10 more+25 -290 replies
3/8lib/params: overhaul param savinglib/igt_params.c+41 -600 replies
4/8params open with path returnlib/igt_params.c+18 -110 replies
5/8igt/params: add generic saving module parameter setlib/igt_params.c lib/igt_params.h+50 -90 replies
6/8igt/params: use igt_params_set_save for igt_set_module_param*lib/igt_params.c+65 -310 replies
7/8lib/debugfs: use regular module param functions for prefault_disablebenchmarks/gem_exec_reloc.c lib/igt_params.c lib/igt_params.h+32 -10 replies
8/8tests/gem_eio: switch to using igt_params_set()tests/i915/gem_eio.c+24 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/8] Use device dependant module parameters

Rebased and fixed Jani's work. Some patches changed in ways I put my own S-b in place. These changes match to my kernel where there is path /sys/kernel/debug/dri/<device>/i915_params/

/Juha-Pekka

Jani Nikula (8):
lib/params: add igt_params.c for module parameter access lib/params: start renaming functions igt_params_* lib/params: overhaul param saving
params open with path return
igt/params: add generic saving module parameter set igt/params: use igt_params_set_save for igt_set_module_param* lib/debugfs: use regular module param functions for
prefault_disable
tests/gem_eio: switch to using igt_params_set()

 benchmarks/gem_exec_reloc.c           |   2 +-
 lib/Makefile.sources                  |   2 +
 lib/drmtest.c                         |   2 +-
 lib/i915/gem_submission.c             |   3 +-
 lib/igt.h                             |   1 +
 lib/igt_aux.c                         | 146 +-----------
 lib/igt_aux.h                         |   3 -
 lib/igt_gt.c                          |   3 +-
 lib/igt_params.c                      | 326 ++++++++++++++++++++++++++
 lib/igt_params.h                      |  47 ++++
 lib/igt_psr.c                         |   1 +
 lib/igt_sysfs.c                       |  68 ------
 lib/igt_sysfs.h                       |   5 -
 lib/meson.build                       |   1 +
 tests/i915/gem_ctx_exec.c             |   2 +-
 tests/i915/gem_ctx_persistence.c      |  10 +-
 tests/i915/gem_eio.c                  |  57 ++---
 tests/i915/gem_mmap_gtt.c             |   2 +-
 tests/i915/gem_reset_stats.c          |   6 +-
 tests/i915/sysfs_heartbeat_interval.c |   3 +-
 tests/i915/sysfs_preempt_timeout.c    |   3 +-
 tests/i915/sysfs_timeslice_duration.c |   3 +-
 22 files changed, 425 insertions(+), 271 deletions(-)
 create mode 100644 lib/igt_params.c
 create mode 100644 lib/igt_params.h
Signature · 6 lines
2.26.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev