[PATCH i-g-t] tests/intel/xe_module_load: Handling of snd_hda_intel
Lucas De Marchi
lucas.demarchi at intel.com
Thu Oct 10 13:22:20 UTC 2024
On Thu, Oct 10, 2024 at 11:42:02AM +0200, Peter Senna Tschudin wrote:
>The problem: Running the following test-list twice fails on the second run:
>igt at xe_module_load@load
>igt at xe_module_load@unload
>
>The load test will modprobe snd_hda_intel, while the unload will not rmmod
>snd_hda_intel. Then running the load test the second time will fail as
>snd_hda_intel is loaded and marked as an "unwanted_drivers".
>
>It used to be the case that snd_hda_intel could prevent module load and unload
>and we needed to take care of it in older kernels. This is no longer the case
>so remove snd_had_intel from unwanted_drivers for this test.
>
>cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Signed-off-by: Peter Senna Tschudin <peter.senna at linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Lucas De Marchi
>---
> tests/intel/xe_module_load.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/tests/intel/xe_module_load.c b/tests/intel/xe_module_load.c
>index 30259fc26..83e37430f 100644
>--- a/tests/intel/xe_module_load.c
>+++ b/tests/intel/xe_module_load.c
>@@ -94,7 +94,6 @@ static void load_and_check_xe(const char *opts)
> static const char * const unwanted_drivers[] = {
> "xe",
> "i915",
>- "snd_hda_intel",
> NULL
> };
>
>--
>2.34.1
>
More information about the igt-dev
mailing list