[Intel-xe] [PATCH v4 1/3] fixup! FIXME: drm/i915: xe doesn't have gsc hdcp interface or something

Jani Nikula jani.nikula at linux.intel.com
Thu Oct 12 10:30:40 UTC 2023


On Thu, 12 Oct 2023, Suraj Kandpal <suraj.kandpal at intel.com> wrote:
> Remove stubs to clean up HDCP code
>
> --v3
> -Should be a fixup patch [Jani]

Did I really say that? If yes, I was wrong. Sorry, this should be a
revert of said commit.

BR,
Jani.


>
> Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_hdcp.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
> index ce9993c64459..8cca4793cf92 100644
> --- a/drivers/gpu/drm/i915/display/intel_hdcp.c
> +++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
> @@ -173,7 +173,6 @@ bool intel_hdcp2_capable(struct intel_connector *connector)
>  
>  	/* If MTL+ make sure gsc is loaded and proxy is setup */
>  	if (intel_hdcp_gsc_cs_required(i915)) {
> -#ifdef I915
>  		struct intel_gt *gt = i915->media_gt;
>  		struct intel_gsc_uc *gsc = gt ? &gt->uc.gsc : NULL;
>  
> @@ -182,10 +181,6 @@ bool intel_hdcp2_capable(struct intel_connector *connector)
>  				    "GSC components required for HDCP2.2 are not ready\n");
>  			return false;
>  		}
> -#else
> -		/* TODO */
> -		return false;
> -#endif
>  	}
>  
>  	/* MEI/GSC interface is solid depending on which is used */

-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list