mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
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: 152f2df954 ("drm/xe/hdcp: Enable HDCP for XE")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240308154939.1940960-2-suraj.kandpal@intel.com
This commit is contained in:
committed by
Uma Shankar
parent
71e721485c
commit
89d0308048
@@ -32,7 +32,7 @@ struct intel_hdcp_gsc_message {
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user