Skip to content

Commit 7d33fd0

Browse files
committed
drm/i915/selftests: Remove flush_scheduled_work() from live_execlists
There are ongoing efforts to remove usages of flush_scheduled_work() from drivers in order to avoid several cases of potentential problems when flushing is done from certain contexts. Remove the call from the live_execlists selftest. Its purpose was to be thorough and sync with the execlists capture state handling, but that is not strictly required for the test to function and can be removed. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220630125716.50835-1-tvrtko.ursulin@linux.intel.com
1 parent 783f6f8 commit 7d33fd0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/i915/gt/selftest_execlists.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ static int wait_for_reset(struct intel_engine_cs *engine,
8585
break;
8686
} while (time_before(jiffies, timeout));
8787

88-
flush_scheduled_work();
89-
9088
if (rq->fence.error != -EIO) {
9189
pr_err("%s: hanging request %llx:%lld not reset\n",
9290
engine->name,

0 commit comments

Comments
 (0)