]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Remove erroneous intel_engine_pm_put
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 9 Feb 2020 13:19:18 +0000 (13:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 9 Feb 2020 13:47:26 +0000 (13:47 +0000)
commitccbb6ed9db84427fcaeb2c30f0d7c68e4191598a
tree46dfcaff4b8afcb802e360db021f6556ce6ea2b6
parenta25fe5bac01ebe52c0f60b5a6534a623ddf61ce8
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
drivers/gpu/drm/i915/gt/selftest_timeline.c