diff mbox series

[xe-for-ci,2/3] drm/xe/gsc: Skip GSC proxy init

Message ID 20240415231746.1230684-3-daniele.ceraolospurio@intel.com (mailing list archive)
State New, archived
Headers show
Series LNL GSC FW support | expand

Commit Message

Daniele Ceraolo Spurio April 15, 2024, 11:17 p.m. UTC
The mei support for LNL hasn't landed yet, so we can't use the GSC proxy
component. Note that the lack of the GSC proxy means that the content
protection features (PXP, HDCP) won't work.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
---
 drivers/gpu/drm/xe/xe_gsc_proxy.c | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/xe/xe_gsc_proxy.c b/drivers/gpu/drm/xe/xe_gsc_proxy.c
index 35e397b68dfc..3a7ba63b5bf2 100644
--- a/drivers/gpu/drm/xe/xe_gsc_proxy.c
+++ b/drivers/gpu/drm/xe/xe_gsc_proxy.c
@@ -446,6 +446,15 @@  int xe_gsc_proxy_init(struct xe_gsc *gsc)
 
 	mutex_init(&gsc->proxy.mutex);
 
+	/*
+	 * FIXME: mei support for LNL hasn't been merged yet so we can't use the
+	 * GSC proxy component yet.
+	 */
+	if (xe->info.platform == XE_LUNARLAKE) {
+		xe_gt_info(gt, "skipping GSC proxy init due to missing LNL mei support\n");
+		return -ENODEV;
+	}
+
 	if (!IS_ENABLED(CONFIG_INTEL_MEI_GSC_PROXY)) {
 		xe_gt_info(gt, "can't init GSC proxy due to missing mei component\n");
 		return -ENODEV;