From: Ramalingam C Date: Thu, 18 Jan 2018 11:18:06 +0530 Subject: drm/i915: II stage HDCP auth for repeater only Git-commit: 87eb3ec818fa57bc49ce419785c56d72d9da1faa Patch-mainline: v4.17-rc1 References: FATE#326289 FATE#326079 FATE#326049 FATE#322398 FATE#326166 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 Signed-off-by: Sean Paul Link: https://patchwork.freedesktop.org/patch/msgid/1516254488-4971-3-git-send-email-ramalingam.c@intel.com Acked-by: Petr Tesarik --- drivers/gpu/drm/i915/intel_hdcp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- 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_ * 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