diff mbox series

drm/i915: coffeelake supports hdcp2.2

Message ID 20191011181918.29618-1-juston.li@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915: coffeelake supports hdcp2.2 | expand

Commit Message

Juston Li Oct. 11, 2019, 6:19 p.m. UTC
This includes other platforms that utilize the same gen graphics as
CFL: AML, WHL and CML.

Signed-off-by: Juston Li <juston.li@intel.com>
---
 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ramalingam C Oct. 14, 2019, 6:04 a.m. UTC | #1
On 2019-10-11 at 11:19:18 -0700, Juston Li wrote:
> This includes other platforms that utilize the same gen graphics as
> CFL: AML, WHL and CML.
> 
> Signed-off-by: Juston Li <juston.li@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
> index e69fa34528df..f7db61eaeb7f 100644
> --- a/drivers/gpu/drm/i915/display/intel_hdcp.c
> +++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
> @@ -1887,7 +1887,7 @@ static bool is_hdcp2_supported(struct drm_i915_private *dev_priv)
>  		return false;
>  
>  	return (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv) ||
> -		IS_KABYLAKE(dev_priv));
> +		IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv));
Looks good to me.

Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
>  }
>  
>  void intel_hdcp_component_init(struct drm_i915_private *dev_priv)
> -- 
> 2.21.0
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c
index e69fa34528df..f7db61eaeb7f 100644
--- a/drivers/gpu/drm/i915/display/intel_hdcp.c
+++ b/drivers/gpu/drm/i915/display/intel_hdcp.c
@@ -1887,7 +1887,7 @@  static bool is_hdcp2_supported(struct drm_i915_private *dev_priv)
 		return false;
 
 	return (INTEL_GEN(dev_priv) >= 10 || IS_GEMINILAKE(dev_priv) ||
-		IS_KABYLAKE(dev_priv));
+		IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv));
 }
 
 void intel_hdcp_component_init(struct drm_i915_private *dev_priv)