diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-09 13:19:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-09 13:47:26 +0000 |
commit | 06f7a61c9b515e5f3a3793e6b4dec93d27b462fc (patch) | |
tree | 46dfcaff4b8afcb802e360db021f6556ce6ea2b6 /drivers/gpu/drm/i915/gt/selftest_timeline.c | |
parent | 7d7569ac3336b3b91a3700295c2af5610cb01d67 (diff) |
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: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200209131922.180287-4-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftest_timeline.c')
-rw-r--r-- | drivers/gpu/drm/i915/gt/selftest_timeline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/selftest_timeline.c b/drivers/gpu/drm/i915/gt/selftest_timeline.c index e59bf7e31d83..c2578a0f2f14 100644 --- a/drivers/gpu/drm/i915/gt/selftest_timeline.c +++ b/drivers/gpu/drm/i915/gt/selftest_timeline.c @@ -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; } |