From patchwork Wed Aug 23 05:58:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Kandpal X-Patchwork-Id: 13361656 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E4EACEE49A0 for ; Wed, 23 Aug 2023 06:01:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65EDD10E2BD; Wed, 23 Aug 2023 06:01:05 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2681710E2C5 for ; Wed, 23 Aug 2023 06:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692770464; x=1724306464; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nk9GKnUZxnL2aKJblVvQUUITXUnch8VaAKjEjMwtC/4=; b=LgKUJ2xDQ7Hj7RFnzw/uSTlgWJMOMcT7WveqzLwO2DSfW6JUhTzLz7ay lWSmUTWsJjiipmhgoN3OQGRsHRG/51ZUwQg1WlqLdfyZDtMKnpleAEAVk RQfWp49KHxdLva7am7ihQbIF34TWaISXf+xe0SsetUx85nsGKyuLZIrb9 W3uZ0bhJmvyHiBXVx74qWiaOrmG9/cn6YjLnaDHS72aywSXTseQIWa/8J HkJlUnMBVOEu/suRWC+WgSkCWT833vqI+36GJvJOD/efyD4GGJrAOPEU5 950EnTT1x6jj8D8Y9PfkFBCCuHmk7X1qnAcViqZL93d78esFnHo8iNxBo g==; X-IronPort-AV: E=McAfee;i="6600,9927,10810"; a="364253990" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="364253990" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2023 23:01:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10810"; a="860199675" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="860199675" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.32]) by orsmga004.jf.intel.com with ESMTP; 22 Aug 2023 23:01:01 -0700 From: Suraj Kandpal To: intel-gfx@lists.freedesktop.org Date: Wed, 23 Aug 2023 11:28:18 +0530 Message-Id: <20230823055821.460045-1-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v2 0/4] HDCP MST aux issue fix X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: uma.shakar@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Up until now all dp hdcp specific function derived the aux from dig_port which gave the aux of the primary port but with DPMST when a MST hub comes into picture the monitor becomes remote and what we need is a corresponding aux which is also remote. These set of patches aim to fix up just that. --v2 -Do not pass drm_core struct to i915 function [Arun] -Fix typo and correct commit message in 3rd patch [Arun] -Provide justification for timeout adjustment [Arun] Signed-off-by: Suraj Kandpal Suraj Kandpal (4): drm/i915/hdcp: Use intel_connector argument in intel_hdcp_shim drm/i915/hdcp: Propagate aux info in DP HDCP functions drm/i915/hdcp: Send the correct aux for DPMST HDCP scenario drm/i915/hdcp: Adjust timeout for read in DPMST Scenario .../drm/i915/display/intel_display_types.h | 6 +- drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 80 ++++++++++++------- drivers/gpu/drm/i915/display/intel_hdcp.c | 30 +++---- drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +- 4 files changed, 73 insertions(+), 49 deletions(-)