Re: [Intel-gfx] [PATCH] drm/i915/selftests: Check for the error interrupt before we wait!

2020-02-14 Thread Matthew Auld
On Fri, 14 Feb 2020 at 12:07, Chris Wilson wrote: > > Sometimes the error interrupt can fire even before we have seen the > request go active -- in which case, we end up waiting until the timeout > as the request is already completed. Double check for this case! > > Signed-off-by: Chris Wilson

[Intel-gfx] [PATCH] drm/i915/selftests: Check for the error interrupt before we wait!

2020-02-14 Thread Chris Wilson
Sometimes the error interrupt can fire even before we have seen the request go active -- in which case, we end up waiting until the timeout as the request is already completed. Double check for this case! Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/selftest_lrc.c | 4 1 file