drm/i915/selftests: Include engine name after reset failure
During igt_reset_nop_engine, an engine reset unexpectedly failed. For the next time this happens, mention which engine that was. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210111105735.21515-4-chris@chris-wilson.co.uk
This commit is contained in:
parent
0da3f2500a
commit
cd7a214f6b
|
@ -506,7 +506,8 @@ static int igt_reset_nop_engine(void *arg)
|
|||
}
|
||||
err = intel_engine_reset(engine, NULL);
|
||||
if (err) {
|
||||
pr_err("i915_reset_engine failed\n");
|
||||
pr_err("intel_engine_reset(%s) failed, err:%d\n",
|
||||
engine->name, err);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -608,7 +609,8 @@ static int __igt_reset_engine(struct intel_gt *gt, bool active)
|
|||
|
||||
err = intel_engine_reset(engine, NULL);
|
||||
if (err) {
|
||||
pr_err("i915_reset_engine failed\n");
|
||||
pr_err("intel_engine_reset(%s) failed, err:%d\n",
|
||||
engine->name, err);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue