diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2018-01-18 06:48:05 +0100 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-01-18 23:28:49 +0100 |
commit | fdddd08c4875db0799defd8cad318a68f564e7e5 (patch) | |
tree | 9aab7653509259ef312016392d4d2cff6803bc4b /drivers/gpu/drm/i915/intel_hdmi.c | |
parent | drm/i915/dp: Fix compilation of intel_dp_hdcp_check_link (diff) | |
download | linux-fdddd08c4875db0799defd8cad318a68f564e7e5.tar.xz linux-fdddd08c4875db0799defd8cad318a68f564e7e5.zip |
drm/i915: Extending HDCP for HSW, BDW and BXT+
This patch extends the Key load process and hdcp initialization for
few more capable intel platforms i.e. HSW, BDW and BXT+.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
[seanpaul fixed checkpatch issues]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1516254488-4971-2-git-send-email-ramalingam.c@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_hdmi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 09b52d218fd4..b5a388208afa 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c +++ b/drivers/gpu/drm/i915/intel_hdmi.c @@ -2296,8 +2296,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port, intel_hdmi_add_properties(intel_hdmi, connector); - /* PORT E doesn't have HDCP, and PORT F is disabled */ - if (INTEL_GEN(dev_priv) >= 9 && port < PORT_E) { + if (is_hdcp_supported(dev_priv, port)) { int ret = intel_hdcp_init(intel_connector, &intel_hdmi_hdcp_shim); if (ret) |