summaryrefslogtreecommitdiff
path: root/tests/i915/gem_ctx_persistence.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-05-07 22:09:38 +0300
committerJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>2020-05-08 15:21:50 +0300
commitbdb5a61d24511850953b24ed122890fdaec7ea03 (patch)
treec1363f8bbc394e4595210fb4bf404598d44a90fc /tests/i915/gem_ctx_persistence.c
parent4f6c17f0dbbdf2c7b4e647bb909e6d31dfce9827 (diff)
lib/params: add igt_params.c for module parameter access
We have generic helpers for sysfs access in igt_sysfs.c, but we also have a number of module parameter access specific helpers scattered here and there. Start gathering the latter into a file of its own. For i915, the long-term goal is to migrate from module parameters to device specific debugfs parameters. With all igt module param access centralized in one place, we can make the transition much easier. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/i915/gem_ctx_persistence.c')
-rw-r--r--tests/i915/gem_ctx_persistence.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i915/gem_ctx_persistence.c b/tests/i915/gem_ctx_persistence.c
index 594dc722..a3de457a 100644
--- a/tests/i915/gem_ctx_persistence.c
+++ b/tests/i915/gem_ctx_persistence.c
@@ -41,6 +41,7 @@
#include "igt_dummyload.h"
#include "igt_gt.h"
#include "igt_sysfs.h"
+#include "igt_params.h"
#include "ioctl_wrappers.h" /* gem_wait()! */
#include "sw_sync.h"