drm/xe/guc: Switch to major-only GuC FW tracking for MTL
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 6 Sep 2023 23:00:10 +0000 (16:00 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:41:13 +0000 (11:41 -0500)
Newer HuC binaries for MTL (8.5.1+) require GuC 70.7 or newer, so we
need to move on from 70.6.4. Given that the MTL GuC uses major-only
version matching in i915, we can do the same here instead of just
bumping the version (and having to push the versioned binaries,
because they're not there already for i915).

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-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

index 8aa3ae1384db2a5e4f5dc57df832089e316657d7..efc70836453d0bee457fa1ad3960baa027697ec2 100644 (file)
@@ -101,7 +101,7 @@ struct fw_blobs_by_type {
 
 #define XE_GUC_FIRMWARE_DEFS(fw_def, mmp_ver, major_ver)                       \
        fw_def(LUNARLAKE,       mmp_ver(xe,     guc,    lnl,    70, 6, 8))      \
-       fw_def(METEORLAKE,      mmp_ver(i915,   guc,    mtl,    70, 6, 4))      \
+       fw_def(METEORLAKE,      major_ver(i915, guc,    mtl,    70, 7))         \
        fw_def(PVC,             mmp_ver(xe,     guc,    pvc,    70, 6, 4))      \
        fw_def(DG2,             major_ver(i915, guc,    dg2,    70, 5))         \
        fw_def(DG1,             major_ver(i915, guc,    dg1,    70, 5))         \