[PATCH] drm/xe/hdcp: Fix condition for hdcp gsc cs requirement

Shankar, Uma uma.shankar at intel.com
Mon Mar 11 05:24:54 UTC 2024



> -----Original Message-----
> From: Intel-xe <intel-xe-bounces at lists.freedesktop.org> On Behalf Of Suraj
> Kandpal
> Sent: Friday, March 8, 2024 9:20 PM
> To: intel-xe at lists.freedesktop.org
> Cc: Kandpal, Suraj <suraj.kandpal at intel.com>; Nikula, Jani
> <jani.nikula at intel.com>; De Marchi, Lucas <lucas.demarchi at intel.com>
> Subject: [PATCH] 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]

Pushed to drm-xe-next. Thanks for the patch and reviews.

Regards,
Uma Shankar

> Fixes: 152f2df954d8 ("drm/xe/hdcp: Enable HDCP for XE")
> Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
> Acked-by: Jani Nikula <jani.nikula at intel.com>
> Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
>  drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 2 +-
>  1 file changed, 1 insertion(+), 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 dcde1d0ac1f8..25c73602ef55 100644
> --- a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> +++ b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> @@ -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)
> --
> 2.43.2



More information about the Intel-xe mailing list