[PATCH] drm/xe/hdcp: Add BMG restriction for HDCP 2.2

Suraj Kandpal suraj.kandpal at intel.com
Wed Jun 5 07:43:48 UTC 2024


As of now HDCP is not supported on BMG graphics platform.
Add check to restrict HDCP 2.2 on those platforms.

Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
---
 drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
index 14b8b4278317..328ec58612b0 100644
--- a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
+++ b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
@@ -33,7 +33,8 @@ struct intel_hdcp_gsc_message {
 
 bool intel_hdcp_gsc_cs_required(struct xe_device *xe)
 {
-	return DISPLAY_VER(xe) >= 14;
+	return DISPLAY_VER(xe) >= 14 &&
+	       DISPLAY_VER_FULL(xe) != IP_VER(14, 1);
 }
 
 bool intel_hdcp_gsc_check_status(struct xe_device *xe)
-- 
2.43.2



More information about the Intel-xe mailing list