Message ID | CA+GA0_tJyx-Xj6ORoBWj8+E8hXftWj4+qDMqvy83W7gQpMZ9oA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] drm/i915/gt: obey "reset" module parameter | expand |
Quoting Marcin Ślusarz (2020-08-18 12:37:20) > From: Marcin Ślusarz <marcin.slusarz@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. It's disabled by user request, and we may do this very very frequently. If you are wise enough to touch an unsafe module parameter, you get to keep all the pieces. -Chris
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; }