summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar, Sachin <sachin.kumar@intel.com>2026-10-05 13:45:49 +0530
committerRodrigo Vivi <rodrigo.vivi@intel.com>2026-10-13 10:00:20 -0400
commitf7f8e453bef8ea29ae3615e5308eb2d4c250545d (patch)
treef675ee2a10666f81aecacf73571aec723bf71e65 /include
parent324ba30cca180c2e1d02090743dd78ccb15b9e4a (diff)
downloadlinux-next-f7f8e453bef8ea29ae3615e5308eb2d4c250545d.tar.gz
linux-next-f7f8e453bef8ea29ae3615e5308eb2d4c250545d.zip
drm/xe/uc: Add missing HuC firmware entry for Alderlake-N
ALDERLAKE_N is listed in XE_GUC_FIRMWARE_DEFS but was missing from XE_HUC_FIRMWARE_DEFS, so uc_fw_auto_select() never finds a HuC blob for this platform. xe_huc_init() then silently treats HuC as XE_UC_FIRMWARE_NOT_SUPPORTED and returns early with no log output, so the gap is invisible in dmesg. Media encode that depend on HuC (e.g. VP9 VDEnc BRC/header probability update) assume HuC is available and still program HuC-dependent HCP/VDEnc commands for the VDBOX engine. With HuC firmware never loaded/authenticated, the first such command stalls the only VCS engine on this single-VDBOX GT1 part, which shows up as: xe 0000:00:02.0: [drm] Tile0: GT0: Engine memory CAT error: class=vcs ... xe 0000:00:02.0: [drm] *ERROR* Tile0: GT0: GuC engine reset request failed reproducing on every run, on the very first VP9 keyframe, at both 1080p and 4K. H264 encode is unaffected since this driver's AVC VDEnc path does not depend on HuC. ADL-P/ADL-S/RKL/TGL are unaffected since they already have a HuC table entry. Note i915 never hit this: i915 has no distinct ALDERLAKE_N platform at the GT/firmware level (ADL-N is only a display subplatform of ALDERLAKE_P there), so it inherits TIGERLAKE's HuC blob automatically. xe gives ALDERLAKE_N its own top-level platform enum, so it needs its own explicit table row. Fix by adding ALDERLAKE_N to XE_HUC_FIRMWARE_DEFS, reusing the same "tgl" HuC blob already used by ALDERLAKE_P/ALDERLAKE_S/ROCKETLAKE/ TIGERLAKE, which share the identical Gen12/TGL-LP media IP block. Signed-off-by: Kumar, Sachin <sachin.kumar@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://patch.msgid.link/20261005081549.1594153-1-sachin.kumar@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions