Skip to content
Snippets Groups Projects
Commit d30d3d5f authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/selftests: Flush tasklet on wait_for_submit()


Always flush the tasklet if we have pending submissions in
wait_for_submit(), so that even if we see the HW has started before we
process its ack, when we return the execlists state is well defined.

Fixes: 06289949 ("drm/i915/selftests: Check for any sign of request starting in wait_for_submit()")
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Acked-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200218211215.1336341-1-chris@chris-wilson.co.uk
parent fbcb52db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment