diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2018-01-18 11:18:06 +0530 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-01-18 17:55:13 -0500 |
commit | 87eb3ec818fa57bc49ce419785c56d72d9da1faa (patch) | |
tree | 48d9d0699718003b1cacc0397821f691d19f22e9 /drivers/gpu/drm/i915/intel_hdcp.c | |
parent | fdddd08c4875db0799defd8cad318a68f564e7e5 (diff) | |
download | linux-stable-87eb3ec818fa57bc49ce419785c56d72d9da1faa.tar.gz linux-stable-87eb3ec818fa57bc49ce419785c56d72d9da1faa.tar.bz2 linux-stable-87eb3ec818fa57bc49ce419785c56d72d9da1faa.zip |
drm/i915: II stage HDCP auth for repeater only
Second stage of HDCP authentication required only if the HDCP
sink is a repeater.
This patch imposes above condition on second stage HDCP authentication.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1516254488-4971-3-git-send-email-ramalingam.c@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hdcp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_hdcp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdcp.c b/drivers/gpu/drm/i915/intel_hdcp.c index e49ca7fe893f..c8e611af408e 100644 --- a/drivers/gpu/drm/i915/intel_hdcp.c +++ b/drivers/gpu/drm/i915/intel_hdcp.c @@ -493,7 +493,10 @@ static int intel_hdcp_auth(struct intel_digital_port *intel_dig_port, * on those as well. */ - return intel_hdcp_auth_downstream(intel_dig_port, shim); + if (repeater_present) + return intel_hdcp_auth_downstream(intel_dig_port, shim); + + return 0; } static |