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: 11271749 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 31D8E930 for ; Tue, 3 Dec 2019 17:36:44 +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 0E5C7206EC for ; Tue, 3 Dec 2019 17:36:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E5C7206EC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=poorly.run Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E0276EA2A; Tue, 3 Dec 2019 17:36:42 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@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 615766EA2A for ; Tue, 3 Dec 2019 17:36:41 +0000 (UTC) Received: by mail-yb1-xb42.google.com with SMTP id d95so1847280ybi.8 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=LOPblM2M2MlpAWIWedXezS03WUq6fQjNemP/ngiOaHwEhSDMctOqUhXIH8Ur6Z6iqP PhPB5psNaSag5keTBaYbVAVyX9x3QBt02vd2dTVbJZIDyfuRXfd5ZBONYJdJpKya6++z utq7UYn1fwbY21uUz0c9OtVYbvP9Cbcfq02APivc1NxdtOTvW9FXI0Xit751OFgEe2bc 3zWjJmeLza29MMqQD2t2XQ+0mR4E6MwdpQ50WAbu70OaWQVkIzv4bOmKvq3HjXxlK9B0 GPLs48HSDTgsDqzwvCMFrpKPBmNU9oMF7bcnMhB4nkshLD/w0VdV6VaJNyTFWuTHWvab 4fZg== X-Gm-Message-State: APjAAAWJ0zR5iU3mBl+dDbFIbOWLToe7RFSZV2XqAFo4VT/ijjVdUaO0 EDQhc9UAuXEsAzTqIbRNGGrKeFNiPujmKg== 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 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== Subject: [Intel-gfx] [PATCH 00/11] drm/i915: Add support for HDCP 1.4 over MST connectors X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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(-)