[Intel-gfx] [PATCH 2/2] drm/i915/gt: raise logging level of "gpu reset disabled" message
Marcin Ślusarz
marcin.slusarz at gmail.com
Tue Aug 18 11:37:20 UTC 2020
From: Marcin Ślusarz <marcin.slusarz at intel.com>
Few lines above there's drm_notice saying that the gpu will be reset.
Printing "gpu reset disabled" using lower logging level makes it
harder to figure out what happened.
Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
---
drivers/gpu/drm/i915/gt/intel_reset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_reset.c
b/drivers/gpu/drm/i915/gt/intel_reset.c
index f4823ca2d71f..0384315c190d 100644
--- a/drivers/gpu/drm/i915/gt/intel_reset.c
+++ b/drivers/gpu/drm/i915/gt/intel_reset.c
@@ -1042,7 +1042,7 @@ void intel_gt_reset(struct intel_gt *gt,
if (i915_modparams.reset)
drm_err(>->i915->drm, "GPU reset not supported\n");
else
- drm_dbg(>->i915->drm, "GPU reset disabled\n");
+ drm_notice(>->i915->drm, "GPU reset disabled\n");
goto error;
}
--
2.20.1
More information about the Intel-gfx
mailing list