drm/xe: Load HuC on Alderlake P
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 12 May 2023 23:36:49 +0000 (16:36 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:33:50 +0000 (18:33 -0500)
commit85635f5d47d7304a44bc45b419f8f31423712ef8
treee7c35c12a0a8dbb5e450db7aed41c6e0bd20ec08
parent500f90620cce13e8fd9e7dfc19701d753c4b3625
drm/xe: Load HuC on Alderlake P

Alderlake P uses TGL HuC and it was not added together with ADL-S,
because it was failing for unrelated reasons. Now that those are fixed,
allow it to load HuC.

# cat /sys/kernel/debug/dri/0/gt0/uc/huc_info
HuC firmware: i915/tgl_huc.bin
status: RUNNING
version: wanted 0.0, found 7.9
uCode: 589504 bytes
RSA: 256 bytes

HuC status: 0x00090001

Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://lore.kernel.org/r/20230512233649.3218736-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_uc_fw.c