From patchwork Fri Jan 17 19:30:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 11339643 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB622921 for ; Fri, 17 Jan 2020 19:31:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA290206D7 for ; Fri, 17 Jan 2020 19:31:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=poorly.run header.i=@poorly.run header.b="K2nGsQ8i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA290206D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=poorly.run Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C9AC6F8D5; Fri, 17 Jan 2020 19:31:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc44.google.com (mail-yw1-xc44.google.com [IPv6:2607:f8b0:4864:20::c44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7BB986F8D3 for ; Fri, 17 Jan 2020 19:31:06 +0000 (UTC) Received: by mail-yw1-xc44.google.com with SMTP id i126so14838665ywe.7 for ; Fri, 17 Jan 2020 11:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kJmv9QEn/Ba0CeGMsutg8elT7GBn7HEVuIj01puRU4E=; b=K2nGsQ8iVjyLaGJTqmT8F2sJ/E37U7ny3toeUjN+NAAQd1XTV5QqsnrjC/kFxglgLz w104INbbKkwdboTOfgnRAvKxdydXTLYz6dfvcf2sYXC9IresV4ObCTdDEtniSWhFOJmO NsFc9UShM+qu2ntSlWcIOfRFqchM4nxKkQA6BKuUHMDVxmcwBun5icq8q6dgju0LU72O eHMDqWvCzIJrrijuK1kAPDWrJ7BOyQDRXXvobTkJrIq1GYZ05Ce2NOul/4p8BG7DE2/y wW3RQcf1/SwYJSuP3HubJc3y4h9wRpyHIFgjvlPeWUsOx4ROx63Ixm8xLPZitWTr3x1f If8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kJmv9QEn/Ba0CeGMsutg8elT7GBn7HEVuIj01puRU4E=; b=Qs2dOa7KZKCgbGgWb5IExEIqitczY3Gu4CmlmexWQjpm6cxXgEL2i1i4lgXwihShGx h+keg0F3uE6O1Yn5hyhwKIA8P3XxiGU3VuCkuyZy03aoXUZoDno0ijEA8cXibPwYT1br JNHMTpoTgU8YQVcqqQRoIcdHyZu7iUifm3RGPAismgtqv40HVhnORr6G/LiOmmhCIEEH UI8cahxxzb/PzAH0OtwkkP5t3Q+bJVWjtLgm039zpDuc9OSZZ3SAgBtMXF+nlBIRIx56 FFgRUIg7kk6AkU8GWLLKBFLNwOxFZMyuap/eUNELPRe2rB594clnX4vLBPL67dambtQT LWWQ== X-Gm-Message-State: APjAAAVxtX2aszgwh2TZsWQ5FxyHIMffCmAnXcJZurmBFAObdTYpqCaL 8OjjI2dNYj1nyc813C6+fdXX8fnBaRKE/g== X-Google-Smtp-Source: APXvYqxr6bizWZrpW7rhzbCUaElAYeiTybqyCUBEpZfIN3udvRrWrZBpK7DTB2AZsJNeR5I+TBHkDw== X-Received: by 2002:a81:31d1:: with SMTP id x200mr32712338ywx.506.1579289465397; Fri, 17 Jan 2020 11:31:05 -0800 (PST) Received: from localhost ([2620:0:1013:11:1e1:4760:6ce4:fc64]) by smtp.gmail.com with ESMTPSA id k5sm11863306ywa.80.2020.01.17.11.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2020 11:31:04 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [PATCH v3 00/12] drm/i915: Add support for HDCP 1.4 over MST connectors Date: Fri, 17 Jan 2020 14:30:51 -0500 Message-Id: <20200117193103.156821-1-sean@poorly.run> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@ffwll.ch, rodrigo.vivi@intel.com, Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sean Paul Hey all, Here's v3, which addresses all review comments in v2. Sean Sean Paul (12): drm/i915: Fix sha_text population code drm/i915: Clear the repeater bit on HDCP disable drm/i915: WARN if HDCP signalling is enabled upon disable drm/i915: Intercept Aksv writes in the aux hooks drm/i915: Use the cpu_transcoder in intel_hdcp to toggle HDCP signalling drm/i915: Factor out hdcp->value assignments drm/i915: Protect workers against disappearing connectors drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it drm/i915: Support DP MST in enc_to_dig_port() function drm/i915: Use ddi_update_pipe in intel_dp_mst drm/i915: Factor out HDCP shim functions from dp for use by dp_mst drm/i915: Add HDCP 1.4 support for MST connectors drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 27 +- drivers/gpu/drm/i915/display/intel_ddi.h | 2 + .../drm/i915/display/intel_display_types.h | 27 +- drivers/gpu/drm/i915/display/intel_dp.c | 619 +--------------- drivers/gpu/drm/i915/display/intel_dp.h | 7 + drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 680 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 15 + drivers/gpu/drm/i915/display/intel_hdcp.c | 195 +++-- drivers/gpu/drm/i915/display/intel_hdmi.c | 18 +- include/drm/drm_hdcp.h | 3 + 11 files changed, 932 insertions(+), 662 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_dp_hdcp.c