Commit 89d03080 authored by Suraj Kandpal's avatar Suraj Kandpal Committed by Uma Shankar

drm/xe/hdcp: Fix condition for hdcp gsc cs requirement

Add condition for check of hdcp gsc cs requirement rather than
assuming gsc cs to always be required when xe is loaded. It is not
required for display version < 14

--v2
-Use display version in commit message [Lucas]

Fixes: 152f2df9 ("drm/xe/hdcp: Enable HDCP for XE")
Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarUma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240308154939.1940960-2-suraj.kandpal@intel.com
parent 71e72148
...@@ -32,7 +32,7 @@ struct intel_hdcp_gsc_message { ...@@ -32,7 +32,7 @@ struct intel_hdcp_gsc_message {
bool intel_hdcp_gsc_cs_required(struct xe_device *xe) bool intel_hdcp_gsc_cs_required(struct xe_device *xe)
{ {
return true; return DISPLAY_VER(xe) >= 14;
} }
bool intel_hdcp_gsc_check_status(struct xe_device *xe) bool intel_hdcp_gsc_check_status(struct xe_device *xe)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment