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 1E761C4332F for ; Tue, 13 Dec 2022 04:56:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C690710E1A7; Tue, 13 Dec 2022 04:56:30 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 249E510E1A7 for ; Tue, 13 Dec 2022 04:56:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670907388; x=1702443388; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=agf39MrKxZ5EUT/yPtnEYwLODXVWIw5ysGXlcX7ZQkg=; b=gQBLoyDcamYFE4k5yfnvCTX2HCx7plHTmV+g6kG/OlNQ5LcPnf6WTiIj vKcam0urklTazMjV6RBYNV3N6R48Jura/mnSzQdPebCskMieYXbUilvio ZVpUhiREfkdaghmYcWoVtqpKSrqksSVm1M68IHIg7ZVlsptvr2id+x9AN CNh1Sah86gsetn2HDVrPtM1WKx+wyMy4+EqfMCdnCqslhP7IChUexlpnw TKsBT754658wbK+E8SMD83Z7l7Mcq4gtdbFHYXMlH7yFyYt69/FdCqacT gujZIfOIipTe54yndUCfz0Talj72l3Z77TooaZppW7PRVM9wJz4vuEJyC Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="315677927" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="315677927" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2022 20:56:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10559"; a="822748130" X-IronPort-AV: E=Sophos;i="5.96,240,1665471600"; d="scan'208";a="822748130" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.32]) by orsmga005.jf.intel.com with ESMTP; 12 Dec 2022 20:56:18 -0800 From: Suraj Kandpal To: intel-gfx@lists.freedesktop.org Date: Tue, 13 Dec 2022 10:25:09 +0530 Message-Id: <20221213045516.2609109-1-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH 0/7] Enable HDCP2.x via GSC CS 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" These patches enable HDCP2.x on machines MTL and above. From MTL onwards CSME is spilt into GSC and CSC and now we use GSC CS instead of MEI to talk to firmware to start HDCP authentication Anshuman Gupta (3): drm/i915/hdcp: Keep cp fw agonstic naming convention drm/i915/hdcp: HDCP2.x Refactoring to agnotic cp f/w drm/i915/hdcp: Refactor HDCP API structures Suraj Kandpal (4): drm/i915/gsc: Create GSC request submission mechanism drm/i915/hdcp: Fill wired_cmd_in structures at a single place drm/i915/mtl: Adding function to send command to GSC CS drm/i915/mtl: Add HDCP GSC interface drivers/gpu/drm/i915/Makefile | 1 + .../gpu/drm/i915/display/intel_display_core.h | 3 +- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 94 ++- drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 708 +++++++++++++++++ drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 28 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 2 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 62 +- drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fwif.h | 42 + drivers/misc/mei/hdcp/mei_hdcp.c | 190 +---- drivers/misc/mei/hdcp/mei_hdcp.h | 355 +-------- include/drm/i915_cp_fw_hdcp_interface.h | 738 ++++++++++++++++++ include/drm/i915_mei_hdcp_interface.h | 184 ----- 14 files changed, 1672 insertions(+), 740 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.c create mode 100644 drivers/gpu/drm/i915/display/intel_hdcp_gsc.h create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_gsc_fwif.h create mode 100644 include/drm/i915_cp_fw_hdcp_interface.h delete mode 100644 include/drm/i915_mei_hdcp_interface.h -- 2.25.1