]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Be paranoid and flush the tasklet before checking status
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 11:35:36 +0000 (11:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 14:38:16 +0000 (14:38 +0000)
commitb7d1c05fae1da766efb0b6a2f317b1169549b8e0
treefbd7964a85e861ef76477acaa9a4925c4c5620a4
parent862fb2c482bf8cdfd5191583f84a7d49c239230a
drm/i915/selftests: Be paranoid and flush the tasklet before checking status

When waiting for the submit, before checking the status of the request,
kick the tasklet to make sure we are processing the submission. This
speeds up submission if we are using any tasklet suppression for
secondary requests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201222113536.3775-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_execlists.c
drivers/gpu/drm/i915/gt/selftest_lrc.c