From: jsg Date: Tue, 13 Aug 2024 05:13:34 +0000 (+0000) Subject: drm/i915/pxp/mtl: Update pxp-firmware packet size X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=07c8d2382fe29ff58e39ac92653b6d9778843cdc;p=openbsd drm/i915/pxp/mtl: Update pxp-firmware packet size From Alan Previn c14d446e25fe00a9fd29d317b07bd221fd6f49db in mainline linux --- diff --git a/sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h b/sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h index 0165d38fbea..329b4fcdc04 100644 --- a/sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h +++ b/sys/dev/pci/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)