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

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Jun 26 13:57:55 UTC 2024


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



More information about the igt-dev mailing list