[igt-dev] [PATCH i-g-t v4 6/9] lib/igt_kmod: make it less pedantic with audio driver removal

Andi Shyti andi.shyti at linux.intel.com
Tue May 17 10:28:50 UTC 2022


Hi Mauro,

On Tue, May 17, 2022 at 09:28:00AM +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Current Linux Kernel don't report if the audio driver binds
> into the DRM driver. As this is CPU specific, allow audio
> driver unload fail without skipping the IGT tests on legacy
> Kernels, as this may not be mandatory.
> 
> On new kernels where lsmod will properly display the dependency
> between the audio and DRM drivers, skip the core hotunplug
> test if it fails to unload the audio driver, as this is
> unrelated to the DRM driver - and it could simply because there
> are some userspace code using the audio device while the IGT
> test is running.
> 
> Reviewed-by Jonathan Cavitt <jonathan.cavitt at intel.com>
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the igt-dev mailing list