diff mbox

[v3,40/40] drm/i915: Add HDCP2.2 support for HDMI connectors

Message ID 1522763873-23041-41-git-send-email-ramalingam.c@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ramalingam C April 3, 2018, 1:57 p.m. UTC
On HDMI connector init, intel_hdcp_init is passed with a flag for hdcp2.2
support based on the platform capability.

v2:
  Rebased.
v3:
  No Changes.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
---
 drivers/gpu/drm/i915/intel_hdmi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Shankar, Uma May 18, 2018, 4:38 p.m. UTC | #1
>-----Original Message-----

>From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of

>Ramalingam C

>Sent: Tuesday, April 3, 2018 7:28 PM

>To: intel-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org;

>seanpaul@chromium.org; daniel@ffwll.ch; chris@chris-wilson.co.uk;

>jani.nikula@linux.intel.com; Winkler, Tomas <tomas.winkler@intel.com>;

>Usyskin, Alexander <alexander.usyskin@intel.com>

>Cc: Vivi, Rodrigo <rodrigo.vivi@intel.com>

>Subject: [Intel-gfx] [PATCH v3 40/40] drm/i915: Add HDCP2.2 support for HDMI

>connectors

>

>On HDMI connector init, intel_hdcp_init is passed with a flag for hdcp2.2 support

>based on the platform capability.

>


Look ok to me.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>


>v2:

>  Rebased.

>v3:

>  No Changes.

>

>Signed-off-by: Ramalingam C <ramalingam.c@intel.com>

>---

> drivers/gpu/drm/i915/intel_hdmi.c | 3 ++-

> 1 file changed, 2 insertions(+), 1 deletion(-)

>

>diff --git a/drivers/gpu/drm/i915/intel_hdmi.c

>b/drivers/gpu/drm/i915/intel_hdmi.c

>index a974d3e2097a..29689269dc80 100644

>--- a/drivers/gpu/drm/i915/intel_hdmi.c

>+++ b/drivers/gpu/drm/i915/intel_hdmi.c

>@@ -2545,7 +2545,8 @@ void intel_hdmi_init_connector(struct

>intel_digital_port *intel_dig_port,

>

> 	if (is_hdcp_supported(dev_priv, port)) {

> 		int ret = intel_hdcp_init(intel_connector,

>-					  &intel_hdmi_hdcp_shim, false);

>+					 &intel_hdmi_hdcp_shim,

>+					 is_hdcp2_supported(dev_priv));

> 		if (ret)

> 			DRM_DEBUG_KMS("HDCP init failed, skipping.\n");

> 	}

>--

>2.7.4

>

>_______________________________________________

>Intel-gfx mailing list

>Intel-gfx@lists.freedesktop.org

>https://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index a974d3e2097a..29689269dc80 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -2545,7 +2545,8 @@  void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,
 
 	if (is_hdcp_supported(dev_priv, port)) {
 		int ret = intel_hdcp_init(intel_connector,
-					  &intel_hdmi_hdcp_shim, false);
+					 &intel_hdmi_hdcp_shim,
+					 is_hdcp2_supported(dev_priv));
 		if (ret)
 			DRM_DEBUG_KMS("HDCP init failed, skipping.\n");
 	}