[Intel-xe] [PATCH v6 3/3] drm/xe/hdcp: Define intel_hdcp_gsc_check_status in Xe

Borah, Chaitanya Kumar chaitanya.kumar.borah at intel.com
Mon Oct 16 09:08:12 UTC 2023



> -----Original Message-----
> From: Kandpal, Suraj <suraj.kandpal at intel.com>
> Sent: Monday, October 16, 2023 2:32 PM
> To: intel-xe at lists.freedesktop.org
> Cc: Shankar, Uma <uma.shankar at intel.com>; Borah, Chaitanya Kumar
> <chaitanya.kumar.borah at intel.com>; Kandpal, Suraj
> <suraj.kandpal at intel.com>
> Subject: [PATCH v6 3/3] drm/xe/hdcp: Define intel_hdcp_gsc_check_status in
> Xe
> 
> Define intel_hdcp_gsc_check_status in Xe to account for changes in i915 and
> Xe.
> intel_hdcp_check_status always returns false as gsc cs interface is not yet
> ported.
> intel_hdcp_gsc_cs_required always returns true as going forward gsc cs will
> always be required by upcoming platforms
> 
> --v5
> -Define intel_hdcp_gsc_cs_required()
> 
> --v6
> -Explain reasons for the return values [Chaitanya]
> 
> Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>

LGTM

Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>

> ---
>  drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> index 0453293af8ef..0f11a39333e2 100644
> --- a/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> +++ b/drivers/gpu/drm/xe/display/xe_hdcp_gsc.c
> @@ -6,6 +6,16 @@
>  #include "i915_drv.h"
>  #include "intel_hdcp_gsc.h"
> 
> +bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915) {
> +	return true;
> +}
> +
> +bool intel_hdcp_gsc_check_status(struct drm_i915_private *i915) {
> +	return false;
> +}
> +
>  int intel_hdcp_gsc_init(struct drm_i915_private *i915)  {
>  	drm_info(&i915->drm, "HDCP support not yet implemented\n");
> --
> 2.25.1



More information about the Intel-xe mailing list