[PATCH i-g-t 0/9] i915: unload refactors
Lucas De Marchi
lucas.demarchi at intel.com
Tue Nov 5 06:18:36 UTC 2024
While reworking the unbind logic for perf_pmu, I noticed we were doing
way too much to handle audio - I was surprised since I've been using
unbind with xe and i915 for a long time. This potentially fixes CI
issues in this area - it definitely fixes lots of warnings for me when
running on a non-CI environemnt.
The patch to tests/intel/perf_pmu.c to unbind before closing events that
I shared earlier needs to be postponed until perf_pmu_unregister() is
fixed, so it's not included here.
I gave this a quick try on DG2 and ADL-s and didn't spot regressions.
Hopefully this is also true in CI, because I like this diffstat :)
Lucas De Marchi (9):
lib/igt_kmod: Remove unused module_ref
tests/intel/perf_pmu: Remove trial unload
lib/igt_kmod: Share xe's unload logic with i915
lib/igt_kmod: Remove unused low level __igt_intel_driver_unload()
tests/core_hotunplug: Stop unloading audio
tests/device_reset: Stop unloading audio
lib: Remove unused audio-related helpers
i915_module_load: Stop caring about snd
xe_module_load: Stop caring about snd
lib/igt_aux.c | 284 ---------------------------------
lib/igt_aux.h | 3 -
lib/igt_kmod.c | 210 +-----------------------
lib/igt_kmod.h | 14 +-
tests/core_hotunplug.c | 46 ------
tests/device_reset.c | 7 -
tests/intel/i915_module_load.c | 32 ----
tests/intel/perf_pmu.c | 15 +-
tests/intel/xe_module_load.c | 40 -----
9 files changed, 12 insertions(+), 639 deletions(-)
--
2.47.0
More information about the igt-dev
mailing list