drm/i915/pxp: Separate PXP FW interface structures for both v42 and 43
authorAlan Previn <alan.previn.teres.alexis@intel.com>
Tue, 8 Nov 2022 04:56:28 +0000 (20:56 -0800)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 16 Nov 2022 17:36:01 +0000 (09:36 -0800)
commit07db5bd23571ee9f3da518f81b03a8eb3c44fc6c
tree1735d68e783465086a59121eacd26a2db8a644ad
parent5524b5e52e08f675116a93296fe5bee60bc43c03
drm/i915/pxp: Separate PXP FW interface structures for both v42 and 43

Previously, we only used PXP FW interface version-42 structures for
PXP arbitration session on ADL/TGL products and version-43 for HuC
authentication on DG2. That worked fine despite not differentiating such
versioning of the PXP firmware interaction structures. This was okay
back then because the only commands used via version 42 was not
used via version 43 and vice versa.

With MTL, we'll need both these versions side by side for the same
commands (PXP-session) with the older platform feature support. That
said, let's create separate files to define the structures and definitions
for both version-42 and 43 of PXP FW interfaces.

Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221108045628.4187260-2-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_42.h [new file with mode: 0644]
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h [new file with mode: 0644]
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_cmn.h [new file with mode: 0644]
drivers/gpu/drm/i915/pxp/intel_pxp_huc.c
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
drivers/gpu/drm/i915/pxp/intel_pxp_tee_interface.h [deleted file]