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

Lucas De Marchi lucas.demarchi at intel.com
Wed Apr 17 20:03:12 UTC 2024


On Tue, Apr 16, 2024 at 03:21:58PM GMT, Daniele Ceraolo Spurio wrote:
>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 at intel.com>

I agree it'd be better to just add the mei patch when it's ready.

let's wait a few days and ping people to see if we can get it
sent rather than going this route.

thanks
Lucas De Marchi

>---
> drivers/gpu/drm/xe/xe_gsc_proxy.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
>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;
>-- 
>2.43.0
>


More information about the Intel-xe mailing list