[PATCH i-g-t 00/10] lib/kmod: unbind, bind, rebind
Lucas De Marchi
lucas.demarchi at intel.com
Thu Apr 10 22:47:42 UTC 2025
Improve and simplify igt_kmod_unbind(). Add igt_kmod_bind() and
igt_kmod_rebind(), replacing the current users of xe_sysfs_driver_do().
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
Lucas De Marchi (10):
lib/igt_kmod: Fix leaking dir
lib/igt_kmod: Fix comment about unbound devices
lib/igt_kmod: Simplify igt_kmod_unbind()
lib/igt_kmod: Use igt_kmod_unbind() to kick snd_hda_intel
lib/igt_kmod: Add igt_kmod_bind()
tests/intel/xe_fault_injection: Use igt_kmod_bind()
lib/igt_kmod: Add rebind abstraction
tests/intel/xe_fault_injection: Drop XE_SYSFS_DRIVER_TRY_BIND usage
tests/intel/xe_wedged: Drop XE_SYSFS_DRIVER_REBIND usage
lib/igt_sysfs: Drop xe_sysfs_driver_do()
lib/igt_kmod.c | 111 +++++++++++++++++----------------------
lib/igt_kmod.h | 4 ++
lib/igt_sysfs.c | 50 ------------------
lib/igt_sysfs.h | 8 ---
tests/intel/xe_fault_injection.c | 8 +--
tests/intel/xe_wedged.c | 14 +++--
6 files changed, 65 insertions(+), 130 deletions(-)
base-commit: e5e2b60a847cd4f044360a9495c59f21f0652087
change-id: 20250410-lib-kmod-fd3a52338d4a
Lucas De Marchi
More information about the igt-dev
mailing list