Commit 06f7a61c authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/selftests: Remove erroneous intel_engine_pm_put



On an allocation error path for live_hwsp_alternate, we dropped the
engine wakeref before we had even acquired it.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200209131922.180287-4-chris@chris-wilson.co.uk
parent 7d7569ac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -606,7 +606,6 @@ static int live_hwsp_alternate(void *arg)

			tl = checked_intel_timeline_create(gt);
			if (IS_ERR(tl)) {
				intel_engine_pm_put(engine);
				err = PTR_ERR(tl);
				goto out;
			}