[igt-dev] [PATCH i-g-t 0/8] Use device dependant module parameters
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Tue Apr 21 16:17:17 UTC 2020
Rebased and fixed Jani's work. Patches which didn't change I did maintain
Jani's authorship. These changes match to my kernel where there is path
/sys/kernel/debug/dri/<device>/i915_params/
Special part is the search of 'default device' in patch
'use igt_params_set_save for igt_set_module_param*'. Don't know if it is
the most obvious way nor do I know will this work on non-Intel driver.
Patch #4 Jani had not added S-o-b, will be added if Jani comment.
/Juha-Pekka
Jani Nikula (5):
lib/params: add igt_params.c for module parameter access
lib/params: overhaul param saving
params open with path return
igt/params: add generic saving module parameter set
lib/debugfs: use regular module param functions for prefault_disable
Juha-Pekka Heikkila (3):
lib/params: start renaming functions igt_params_*
igt/params: use igt_params_set_save for igt_set_module_param*
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 | 359 ++++++++++++++++++++++++++
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, 458 insertions(+), 271 deletions(-)
create mode 100644 lib/igt_params.c
create mode 100644 lib/igt_params.h
--
2.17.1
More information about the igt-dev
mailing list