From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8BA256E081 for ; Sun, 19 Apr 2020 15:17:56 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id t11so5763721lfe.4 for ; Sun, 19 Apr 2020 08:17:56 -0700 (PDT) From: Juha-Pekka Heikkila Date: Sun, 19 Apr 2020 18:17:42 +0300 Message-Id: <20200419151750.3863-1-juhapekka.heikkila@gmail.com> Subject: [igt-dev] [PATCH i-g-t 0/8] Use device dependant module parameters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: 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//i915_params/ 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* BROKEN 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 | 302 ++++++++++++++++++++++++++ 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, 401 insertions(+), 271 deletions(-) create mode 100644 lib/igt_params.c create mode 100644 lib/igt_params.h -- 2.17.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev