From patchwork Sun Sep 17 21:19:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Teres Alexis, Alan Previn" X-Patchwork-Id: 13388654 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 DC617CD37B4 for ; Sun, 17 Sep 2023 21:19:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DC82010E19E; Sun, 17 Sep 2023 21:19:40 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8EB3B10E15E; Sun, 17 Sep 2023 21:19:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694985577; x=1726521577; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EBNKzArPXv349cguQR4fY8oUg9L3uz3WXLjap2MYTyk=; b=Wmva2cX9CCLe18TY+j8ich2zYClCd+RPRgyPUjASE+Qi64bl9+s5P66Y bNRf/3na1461SpLZGTYJqKKlQcCY+YCagU+SvGnF6A3+ya9c4VXZ2v6SJ KM371DSLrva8ZWGd0o9sUvTZYCm7idl9Dm4qne65EhDJ6ORSCFEELR2pF aV9ZHJOcpSzdQhbyUF2sbjGAYT53KNOcHzKA0NybnrTAlQeNtoOoufK9g NgRsdDXw+C/v0c1QXZ7RSm0u4jV7lLnHcie+ZMUmBOfEU7nkaRbdX6lGW 0qZ6FZSc52ZI+ymU9Q0BYcZgrqPq/TYTPt499NknDWFCeMljWOKj6lpqe Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="410487906" X-IronPort-AV: E=Sophos;i="6.02,155,1688454000"; d="scan'208";a="410487906" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2023 14:19:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10836"; a="860825088" X-IronPort-AV: E=Sophos;i="6.02,155,1688454000"; d="scan'208";a="860825088" Received: from aalteres-desk.fm.intel.com ([10.80.57.53]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2023 14:19:36 -0700 From: Alan Previn To: intel-gfx@lists.freedesktop.org Date: Sun, 17 Sep 2023 14:19:32 -0700 Message-Id: <20230917211933.1407559-3-alan.previn.teres.alexis@intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230917211933.1407559-1-alan.previn.teres.alexis@intel.com> References: <20230917211933.1407559-1-alan.previn.teres.alexis@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v7 2/3] drm/i915/pxp/mtl: Update pxp-firmware packet size 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: dri-devel@lists.freedesktop.org, Alan Previn Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Update the GSC-fw input/output HECI packet size to match updated internal fw specs. Signed-off-by: Alan Previn Reviewed-by: Vivaik Balasubrawmanian --- drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h b/drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h index 0165d38fbead..329b4fcdc040 100644 --- a/drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h +++ b/drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h @@ -14,8 +14,8 @@ #define PXP43_CMDID_NEW_HUC_AUTH 0x0000003F /* MTL+ */ #define PXP43_CMDID_INIT_SESSION 0x00000036 -/* PXP-Packet sizes for MTL's GSCCS-HECI instruction */ -#define PXP43_MAX_HECI_INOUT_SIZE (SZ_32K) +/* PXP-Packet sizes for MTL's GSCCS-HECI instruction is spec'd at 65K before page alignment*/ +#define PXP43_MAX_HECI_INOUT_SIZE (PAGE_ALIGN(SZ_64K + SZ_1K)) /* PXP-Packet size for MTL's NEW_HUC_AUTH instruction */ #define PXP43_HUC_AUTH_INOUT_SIZE (SZ_4K)