]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/i1915/guc: Fix probe injection CI failures after recent change
authorJohn Harrison <John.C.Harrison@Intel.com>
Wed, 10 May 2023 20:55:56 +0000 (13:55 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 12 May 2023 17:36:56 +0000 (10:36 -0700)
A recent change bumped a 'notice' message up to 'error' level for
debug builds to help trap incorrect configurations in CI systems.
Unfortunately, the error condition in question is triggered by the
error injection probe test. So change the message again to be 'probe
error' level instead.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Fixes: 760133d42f0a ("drm/i915/uc: Make unexpected firmware versions an error in debug builds")
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230510205556.312999-1-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c

index e34c79120090364ce76c3e036b5fbd368248198d..dc5c96c503a9299aaa5fc3d6a54b9f5b0b5cc5c9 100644 (file)
@@ -18,7 +18,7 @@
 #include "i915_reg.h"
 
 #if IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM)
-#define UNEXPECTED     gt_err
+#define UNEXPECTED     gt_probe_error
 #else
 #define UNEXPECTED     gt_notice
 #endif