]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
misc/mei: Allow building standalone for compile testing
authorSimon Richter <Simon.Richter@hogyros.de>
Wed, 7 Jan 2026 18:26:04 +0000 (03:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:30:38 +0000 (16:30 +0100)
While this is not a particularly useful configuration, the MEI code should
compile even when no drivers for a GPU containing a management engine are
built.

Cc: Usyskin, Alexander <alexander.usyskin@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Link: https://patch.msgid.link/20260107182615.488194-4-Simon.Richter@hogyros.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/Kconfig
drivers/misc/mei/gsc_proxy/Kconfig
drivers/misc/mei/hdcp/Kconfig
drivers/misc/mei/pxp/Kconfig

index a62992909f85ffab84bc3ecd61bf020b88431501..5902dd1ee44baf1641e99caf6b33ff89442f1575 100644 (file)
@@ -49,7 +49,7 @@ config INTEL_MEI_TXE
 config INTEL_MEI_GSC
        tristate "Intel MEI GSC embedded device"
        depends on INTEL_MEI_ME
-       depends on DRM_I915!=n || DRM_XE!=n
+       depends on DRM_I915!=n || DRM_XE!=n || COMPILE_TEST
        help
          Intel auxiliary driver for GSC devices embedded in Intel graphics devices.
 
@@ -84,7 +84,7 @@ config INTEL_MEI_VSC
 config INTEL_MEI_LB
        tristate "Intel Late Binding (LB) support on ME Interface"
        depends on INTEL_MEI_ME
-       depends on DRM_XE!=n
+       depends on DRM_XE!=n || COMPILE_TEST
        help
          Enable support for Intel Late Binding (LB) via the MEI interface.
 
index 30811117fc650ef8cb600ec0e543638e4570aa10..b80024c5189bb119c0fe74af75d327491914faaa 100644 (file)
@@ -4,7 +4,7 @@
 config INTEL_MEI_GSC_PROXY
        tristate "Intel GSC Proxy services of ME Interface"
        depends on INTEL_MEI_ME
-       depends on DRM_I915!=n
+       depends on DRM_I915!=n || COMPILE_TEST
        help
          MEI Support for GSC Proxy Services on Intel platforms.
 
index a9af4918e5b2ff4a80c43050bd96796c868004ee..b9d5205c5b1a46585cb394f89439d2facc79f31b 100644 (file)
@@ -4,7 +4,7 @@
 config INTEL_MEI_HDCP
        tristate "Intel HDCP2.2 services of ME Interface"
        depends on INTEL_MEI_ME
-       depends on DRM_I915!=n || DRM_XE!=n
+       depends on DRM_I915!=n || DRM_XE!=n || COMPILE_TEST
        help
          MEI Support for HDCP2.2 Services on Intel platforms.
 
index d0f8bb6aa2dec841b809ccc78c898870249024a2..2c5c00dc4b6f87df3a7f33e6fe0b2c670537bb3a 100644 (file)
@@ -4,7 +4,7 @@
 config INTEL_MEI_PXP
        tristate "Intel PXP services of ME Interface"
        depends on INTEL_MEI_ME
-       depends on DRM_I915!=n || DRM_XE!=n
+       depends on DRM_I915!=n || DRM_XE!=n || COMPILE_TEST
        help
          MEI Support for PXP Services on Intel platforms.