From patchwork Wed Feb 7 11:35:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kandpal, Suraj" X-Patchwork-Id: 13548351 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 E6C6EC4828F for ; Wed, 7 Feb 2024 11:37:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5CB3F10EBBF; Wed, 7 Feb 2024 11:37:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="H3Q+cD2u"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA76710EBBF; Wed, 7 Feb 2024 11:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707305870; x=1738841870; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=dl9AyKQk6g/V28UKmq5qpiuqiAiTLBohiFXNgXva3Hs=; b=H3Q+cD2uL5lpGWkP9BdfalUYLR/X5/8KGMVCx2pAY/jK8FZ1n3OcqLwK M08SjTEbnQbOSp9HI28oTOOzOv0YTpUcb878OuB3ECPDpwjvyaCwP0Uk+ cLTqCGJkT2RoSzcZ6k10um30PwGkEVKw1Dqcbw9vPIiuZOc/1KgEQkihm QjupwH9LiNvLELm3QIiD+8n/omQEJ1pSYUceRMKEYI+bIJi5b26ugAPsJ atAEweJFpzvLMV3L5rYX3wtn/EFAYo8ccLNUVx5THXo9aGQ60j0LDnz1z iDKmMuEKggh0DhomaCx1WbMWz7qjo1lKzAIhs/Dy7X3Xc0mqPvRe2XFFz w==; X-IronPort-AV: E=McAfee;i="6600,9927,10976"; a="12056206" X-IronPort-AV: E=Sophos;i="6.05,250,1701158400"; d="scan'208";a="12056206" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2024 03:37:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,250,1701158400"; d="scan'208";a="1306480" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.32]) by orviesa009.jf.intel.com with ESMTP; 07 Feb 2024 03:37:47 -0800 From: Suraj Kandpal To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: daniele.ceraolospurio@intel.com, Suraj Kandpal Subject: [PATCH 0/4] XE HDCP Enablement Date: Wed, 7 Feb 2024 17:05:28 +0530 Message-Id: <20240207113531.1265801-1-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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" This patch series enables HDCP on XE. Mainly includes rewriting functions that were responsible for sending hdcp messages via gsc cs. Signed-off-by: Suraj Kandpal Suraj Kandpal (4): drm/i915/hdcp: Move intel_hdcp_gsc_message def away from header file drm/xe: Use gsc_proxy_init_done to check proxy status drm/xe/hdcp: Enable HDCP for XE drm/xe/hdcp: Add intel_hdcp_gsc_message to Makefile drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 10 +- drivers/gpu/drm/i915/display/intel_hdcp_gsc.h | 7 +- drivers/gpu/drm/xe/Makefile | 1 + .../gpu/drm/xe/abi/gsc_command_header_abi.h | 2 + drivers/gpu/drm/xe/display/xe_hdcp_gsc.c | 227 +++++++++++++++++- drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +- drivers/gpu/drm/xe/xe_gsc_proxy.h | 1 + drivers/gpu/drm/xe/xe_gsc_submit.c | 19 ++ drivers/gpu/drm/xe/xe_gsc_submit.h | 1 + 9 files changed, 253 insertions(+), 17 deletions(-)