[Intel-xe] [PATCH 0/4] drm/xe: Clear-media HuC support for MTL
Daniele Ceraolo Spurio
daniele.ceraolospurio at intel.com
Fri Sep 15 22:34:54 UTC 2023
MTL supports HuC on the media GT with a 2-step authentication flow:
1 - authentication via the GuC for clear-media
2 - authentication via the GSC for protected content
This series introduces support for the first step. The actual flow to
authenticate via the GuC is the same as in older platforms, but the
HuC binary now has a new manifest which we need to parse. From the
manifest we can extract the offset within the binary that we need to
provide to the GuC for loading.
The second step of the authentication will come as part of GSC support.
Cc: Alan Previn <alan.previn.teres.alexis at intel.com>
Cc: John Harrison <John.C.Harrison at Intel.com>
Daniele Ceraolo Spurio (4):
drm/xe/huc: Extract version and binary offset from new HuC headers
drm/xe/huc: HuC is not supported on GTs that don't have video engines
drm/xe/huc: Don't re-auth HuC if it's already authenticated
drm/xe/huc: Define HuC for MTL
drivers/gpu/drm/xe/abi/gsc_binary_headers.h | 74 +++++++++
drivers/gpu/drm/xe/xe_huc.c | 148 +++++++++++++++++-
drivers/gpu/drm/xe/xe_huc.h | 1 +
drivers/gpu/drm/xe/xe_uc_fw.c | 161 +++++++++++++-------
drivers/gpu/drm/xe/xe_uc_fw.h | 2 +-
drivers/gpu/drm/xe/xe_uc_fw_types.h | 5 +
6 files changed, 331 insertions(+), 60 deletions(-)
create mode 100644 drivers/gpu/drm/xe/abi/gsc_binary_headers.h
--
2.41.0
More information about the Intel-xe
mailing list