drm/i915/pxp/mtl: Update pxp-firmware packet size
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Sun, 17 Sep 2023 21:19:32 +0000 (14:19 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 19 Sep 2023 19:11:19 +0000 (12:11 -0700)
Update the GSC-fw input/output HECI packet size to match
updated internal fw specs.

Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Vivaik Balasubrawmanian <vivaik.balasubrawmanian@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230917211933.1407559-3-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h

index 0165d38fbead189f8012abccaffb14ccb5164a7d..329b4fcdc04053ee774e5a908beefda5e19958ac 100644 (file)
@@ -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)