From patchwork Tue Dec 3 17:36:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 11271751 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 02178930 for ; Tue, 3 Dec 2019 17:36:46 +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 DB62E206EC for ; Tue, 3 Dec 2019 17:36:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB62E206EC 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 DF20D6EA34; Tue, 3 Dec 2019 17:36:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 70DAD6EA34 for ; Tue, 3 Dec 2019 17:36:41 +0000 (UTC) Received: by mail-yb1-xb42.google.com with SMTP id k17so1870856ybp.1 for ; Tue, 03 Dec 2019 09:36:41 -0800 (PST) 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=k0702IkYGdyEE1ANPdg7njfJXKphvSRdSVo1kbnlkuk=; b=LVFIQfpbcqatih2DOrxnoMEZHsKC4SRkw18Qoju3C39RBCw0l4rUeIdadoiXtDWmRw 82Up2oFmc/KC6YJcHYEz7wMDHd/ZKDJ692p2dzlFAH8iV6V+TcIuRnu50AYCeiidK1n2 buf923TMynoa3ZsZBULerBDji4pPhs5zDh+CavgziHLdvjWLTsXZ8I/RpVBqWnUf/p8s WOB3emD1WMkVOJ5mgoyHvhJtwpxcrZ//TvEVkUR0I1qTWc//PQDCnCIloSRs9kpMNHEi +nx1yYFskK4m7oP8yRFVjPqvJqL5qthQRw7FyjT4dVYmZfj3YwyBYvZ2JPBLikwM+Ger k6TQ== X-Gm-Message-State: APjAAAVPM0Qz6BVvOmq4LIn+7nmeMgljWFMG94VQ7v5NHAdTHM/N+zoA uX+Vs9erQIPiPmPD6cD/JR95frck0emSFg== X-Google-Smtp-Source: APXvYqwcb+QRyBdLT8joWna3npCRW53EVDn6Z8oMJbDL0P8yC2MVxu47gS6xbfvSb7DH3fK0BjYDMw== X-Received: by 2002:a25:5903:: with SMTP id n3mr5409390ybb.466.1575394600302; Tue, 03 Dec 2019 09:36:40 -0800 (PST) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id g190sm1729426ywf.41.2019.12.03.09.36.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 09:36:39 -0800 (PST) From: Sean Paul To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, ramalingm.c@intel.com Subject: [PATCH 00/11] drm/i915: Add support for HDCP 1.4 over MST connectors Date: Tue, 3 Dec 2019 12:36:23 -0500 Message-Id: <20191203173638.94919-1-sean@poorly.run> X-Mailer: git-send-email 2.24.0.393.g34dc348eaf-goog MIME-Version: 1.0 X-Mailman-Original-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=k0702IkYGdyEE1ANPdg7njfJXKphvSRdSVo1kbnlkuk=; b=Cm9SVzh5LHziU75eJAgwvbR1bN47kAVm1RRl1MmH3xplnHD/2bi3A+IvHAIbHtNwa+ jhkWcZigd82uZOrybCb8OiuG3cgq87qhKEDR/BcGnDG3doFgH1fIHbqKEdp6UrmNl4as Iso0sP4+R/S9t2BUOuZi4MvkeO/jbCTlV05ehLBFLlcwVy+0X2huqrYmY2wA3adYqUCZ sQcn6TBv7mpNNNbsx9DK4nsdEmDUL3RLgZNJwkDbrhIoikU/V13kIFffxsyVGviRg1pn u8/Ny3ABoJp7z8BQTI0vxlvOSM7FxkeB2uXVVpfD1k4ubWGb1dj6HNmvjsDrIK5BEgQZ U+Tg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sean Paul Hey all, As the subject says, this set adds support for HDCP 1.4 over MST. Most of the set is plumbing and refactor to allow the MST support to slot in organically. I stubbed out HDCP 2.2 support since I don't have a means of testing it. If no one picks up the slack, I can come back to it at a later date when I have the right gear. Please take a look, Sean Sean Paul (11): drm/i915: Fix sha_text population code drm/i915: Intercept Aksv writes in the aux hooks drm/i915: Disable HDCP signalling on transcoder disable drm/i915: Don't WARN on HDCP toggle if get_hw_state returns false drm/i915: Change toggle_signalling() argument to connector drm/i915: Factor out hdcp->value assignments 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 ++-- .../drm/i915/display/intel_display_types.h | 48 +++++- drivers/gpu/drm/i915/display/intel_dp.c | 82 +++++----- drivers/gpu/drm/i915/display/intel_dp.h | 6 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 84 ++++++++++ drivers/gpu/drm/i915/display/intel_hdcp.c | 145 +++++++++++++----- drivers/gpu/drm/i915/display/intel_hdmi.c | 10 +- include/drm/drm_hdcp.h | 3 + 8 files changed, 298 insertions(+), 107 deletions(-)