From patchwork Thu Dec 12 19:02:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 11289253 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 D2E306C1 for ; Thu, 12 Dec 2019 19:02:41 +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 B1A582073B for ; Thu, 12 Dec 2019 19:02:41 +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="Bstnau0L" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1A582073B 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 2CE556E0F8; Thu, 12 Dec 2019 19:02:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yw1-xc41.google.com (mail-yw1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) by gabe.freedesktop.org (Postfix) with ESMTPS id A64926E0EA for ; Thu, 12 Dec 2019 19:02:33 +0000 (UTC) Received: by mail-yw1-xc41.google.com with SMTP id w11so1345242ywj.9 for ; Thu, 12 Dec 2019 11:02:33 -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=nc11bY85WqRuCb8plQBvaSHDeJ5ol8MFPdYDFbykNcw=; b=Bstnau0LK+GriJz2guTX5RtxMFP9l+nPaun+B2W6cAAGaptekqEWhWiGQfUCM69xsw OQ2bZXj7vv3sdL69ZZOIGeIr3lipArNVZCycs2mUbTcRtyZ9pgGgigdh/rLe7cv6Q44a VqrlIBf/bIK9im4MluiHlnjKIare1pl9ecDSOb1prK6pt1HpWGSvnSHVJHdGJSlD/0L4 vo1WnQJm6awlFCXCJ5orCxM1QC9/qm4AaV/kmbzKpkCEX1DDOrnsomv3IRiP6K4sFvSE j8cYDDBLs/KoSO+KFqWCQO0BVs5DiDezciyQwqvqrbO6axMvYHPoq8roo5hIvdxDs9dy J6Ww== 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=nc11bY85WqRuCb8plQBvaSHDeJ5ol8MFPdYDFbykNcw=; b=qY+mnNI/cJIDKW/kzlef5ezK/6C4ymQE5bNFxIjMSWte2PVYiEIDIeBjHzU5mbx9fZ vigFZeChFJ1WrbPmDAfxmZvF/nhuA1Zicw+L2y8lfICoQamWunKGLmG3f5nCX38NcoPd CG3KXjvbDam0Mfi4nPDbvLs7l9QYG+J/PtkkmW0gLRVzjsOyyUiRsi6h818whN+RQBQw LLizXH/LB3KUyRBmYkAqZc+AshRlfPdO101HOaasYZBtsEG+wSj8fZPiGuROcoDqKZ1j oOB5eDRcyWuKmQVr/H+8yRa7PBB1ffbuYUGPMBWNEASLiKEjaVjUAl4vo4K4v9Cuzc9e 7BOg== X-Gm-Message-State: APjAAAV+mu7qoBsgs69rDUxgw24PXFFbcfsmeIvIcrPlTT0mBbYJ2F+K 3K2si6LEEDXN2p04dXU+l9JZK4v2HJaV+w== X-Google-Smtp-Source: APXvYqydX5H7CKqEZ3/AQYO0reBaz3ublf/HHch2QjFv+oKb39DCDEQemGqDE3RzjYzC3Mbu+0jS7w== X-Received: by 2002:a81:2746:: with SMTP id n67mr5310851ywn.182.1576177352628; Thu, 12 Dec 2019 11:02:32 -0800 (PST) Received: from localhost ([2620:0:1013:11:1e1:4760:6ce4:fc64]) by smtp.gmail.com with ESMTPSA id d199sm2570003ywh.83.2019.12.12.11.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2019 11:02:31 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [PATCH v2 00/12] drm/i915: Add support for HDCP 1.4 over MST connectors Date: Thu, 12 Dec 2019 14:02:18 -0500 Message-Id: <20191212190230.188505-1-sean@poorly.run> X-Mailer: git-send-email 2.24.1.735.g03f4e72817-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 Hello again, Here's the second version of my set to enable MST over HDCP. The big changes stemmed from Ville's review. It was super helpful to get that pushback, and led me to more critically debug the disable paths. As a result, I think I chased a few more gremlins out of the system. Individual commit messages have the v2 changes, so I won't enumerate them here. Thanks in advance, Sean v1 cover: https://lists.freedesktop.org/archives/dri-devel/2019-December/247501.html 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: Expose HDCP shim functions from dp for use by dp_mst drm/i915: Add HDCP 1.4 support for MST connectors 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 | 47 ++++- drivers/gpu/drm/i915/display/intel_dp.c | 79 ++++---- drivers/gpu/drm/i915/display/intel_dp.h | 6 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 90 +++++++++ drivers/gpu/drm/i915/display/intel_hdcp.c | 190 ++++++++++++++---- drivers/gpu/drm/i915/display/intel_hdmi.c | 18 +- include/drm/drm_hdcp.h | 3 + 9 files changed, 352 insertions(+), 110 deletions(-)