drm/i915/selftests: Remove flush_scheduled_work() from live_execlists
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2022 12:57:16 +0000 (13:57 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 23 Sep 2022 10:57:33 +0000 (11:57 +0100)
commit7d33fd02dd943c7f8003e95930d15d92529fe917
tree7e37c7575feac9b9f1efe2307547e1867591fbea
parent783f6f852cc061e59962e53aa9824aa785de0d8c
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
drivers/gpu/drm/i915/gt/selftest_execlists.c