drm/xe/guc: Reduce a print from warn to debug
authorKarthik Poosa <karthik.poosa@intel.com>
Thu, 25 Jan 2024 16:56:52 +0000 (22:26 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 30 Jan 2024 19:37:38 +0000 (11:37 -0800)
Reduce debug print from warn to debug to avoid unnecessary warning
message in dmesg: the firmware loading logic already has the right
printk priority level when checking the firmware version.

Fixes: c5a06c9169f3 ("drm/xe/guc: Enable WA 14018913170")
Suggested-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240125165652.3764711-1-karthik.poosa@intel.com
[ slightly reword debug and commit messages ]
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_guc.c

index fcb8a9efac7049ca289d10a0d608e57da1a73f49..868208a39829516d1ef5973d6f2f3ceaf1e9f9ef 100644 (file)
@@ -174,8 +174,8 @@ static u32 guc_ctl_wa_flags(struct xe_guc *guc)
                if (GUC_VER(version->major, version->minor, version->patch) >= GUC_VER(70, 7, 0))
                        flags |= GUC_WA_ENABLE_TSC_CHECK_ON_RC6;
                else
-                       drm_warn(&xe->drm, "can't apply WA 14018913170, GUC version expected >= 70.7.0, found %u %u %u\n",
-                                version->major, version->minor, version->patch);
+                       drm_dbg(&xe->drm, "Skip WA 14018913170: GUC version expected >= 70.7.0, found %u.%u.%u\n",
+                               version->major, version->minor, version->patch);
        }
 
        return flags;