drm/i915/selftests: Kick timeslice until selftest yields
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 11:35:34 +0000 (11:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Dec 2020 14:38:09 +0000 (14:38 +0000)
commit48c508a5165229aaf5e9bff5d15d5d3456fb9dc7
tree8fa1c196fcb5312f7c41fa3455bbed218d7d41f7
parentb436a5f8b6c83ec2d2bff79cbff3e8a10918340b
drm/i915/selftests: Kick timeslice until selftest yields

Keep on kicking the timeslice in case on the first retirement, it did
not stay idle. This may happen when using semaphore yields.

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-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_execlists.c