]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/huc: Prepare for 2-step HuC authentication
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 29 Nov 2023 01:17:18 +0000 (17:17 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:24 +0000 (11:45 -0500)
commit7ce5716e13cfb37a86c02fe158403c002eb1b504
treedb8315a7807e1b8acc5c5696ce30b747c20b9156
parent2a70bbe6170fafde76cf0135c5cbee4bd4bfa0ec
drm/xe/huc: Prepare for 2-step HuC authentication

Starting on MTL, the HuC is authenticated twice, once via GuC (same as
with older integrated platforms) and once via GSC; the first
authentication allows the HuC to be used for clear-media workloads,
while the second one unlocks support for protected content.
Ahead of adding the authentication flow via GSC, this patch adds support
for differentiating the 2 auth steps and checking if they're complete.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Vivaik Balasubrawmanian <vivaik.balasubrawmanian@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/regs/xe_gsc_regs.h
drivers/gpu/drm/xe/xe_huc.c
drivers/gpu/drm/xe/xe_huc.h
drivers/gpu/drm/xe/xe_uc.c