[PATCH 42/43] drm/i915: Add HDCP2.2 support for HDMI connectors

Ramalingam C
2018-02-14T14:21:26Z

Initializes the HDMI HDCP2.2 shim with HDCP stack. With this HDCP2.2
will be initialized for intel HDMI connectors.

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 ac5a69f5aeaa..487006c3f406 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -2548,7 +2548,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, NULL);
+ &intel_hdmi_hdcp_shim,
+ &intel_hdmi_hdcp2_shim);
if (ret)
DRM_DEBUG_KMS("HDCP init failed, skipping.\n");
}