[PATCH i-g-t] lib/igt_kmod: unload mei_gsc_proxy for Intel drivers

Senna Tschudin, Peter peter.senna.tschudin at intel.com
Thu Jun 27 14:23:45 UTC 2024



> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Kamil
> Konieczny
> Sent: Mittwuch, 26. Juni 2024 15:58
> To: igt-dev at lists.freedesktop.org
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>; Usyskin, Alexander
> <alexander.usyskin at intel.com>
> Subject: [PATCH i-g-t] lib/igt_kmod: unload mei_gsc_proxy for Intel drivers
> 
> For Intel i915 or Xe drivers we should unload mei_gsc_proxy before mei_gsc,
> otherwise unloading mei_gsc could fail.
> 
> Cc: Alexander Usyskin <alexander.usyskin at intel.com>
> Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
>  lib/igt_kmod.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c index 33f059199..ca14186a8
> 100644
> --- a/lib/igt_kmod.c
> +++ b/lib/igt_kmod.c
> @@ -623,6 +623,8 @@ int __igt_intel_driver_unload(char **who, const char
> *driver)
>  		/* mei_gsc uses an i915 aux dev and the other mei mods
> depend on it */
>  		"mei_pxp",
>  		"mei_hdcp",
> +		/* mei_gsc_proxy should be unloaded before mei_gsc */
> +		"mei_gsc_proxy",
>  		"mei_gsc",
>  		NULL,
>  	};
> --
> 2.43.0

Reviewed-by: Peter Senna Tschudin <peter.senna.tschudin at intel.com>
Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Dufourstrasse 101 , 8008 Zurich, Switzerland


More information about the igt-dev mailing list