Commit cf4c826d authored by Chris Wilson's avatar Chris Wilson

drm/i915/selftests: Drop vestigal timeslicing assert

Since the semaphore interrupt may cause us to yield the timeslice
immediately, we may cancel the timer before we notice the submission is
complete. The assertion is no longer valid due to the race with the
interrupt.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200407222625.15542-1-chris@chris-wilson.co.uk
parent c4e8ba73
...@@ -1073,7 +1073,6 @@ static int live_timeslice_rewind(void *arg) ...@@ -1073,7 +1073,6 @@ static int live_timeslice_rewind(void *arg)
engine->name); engine->name);
goto err; goto err;
} }
GEM_BUG_ON(!timer_pending(&engine->execlists.timer));
/* ELSP[] = { { A:rq1, A:rq2 }, { B:rq1 } } */ /* ELSP[] = { { A:rq1, A:rq2 }, { B:rq1 } } */
if (i915_request_is_active(rq[A2])) { /* semaphore yielded! */ if (i915_request_is_active(rq[A2])) { /* semaphore yielded! */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment