]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Check for any sign of request starting in wait_for_submit()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Feb 2020 14:13:05 +0000 (14:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Feb 2020 19:45:08 +0000 (19:45 +0000)
commit97afcad74df00a7a48d0a89a2fdb9d4d0fabab8a
tree044c6e7343c3ec4e6015cb89d6723ad7c4bedcde
parent40a5582d311c8a7257257b3eaefc6078d161b885
drm/i915/selftests: Check for any sign of request starting in wait_for_submit()

We only want to wait until the request has been submitted at least once;
that is it is either in flight, or has been.

References: 957f7bc205e5 ("drm/i915/selftests: Check for the error interrupt before we wait!")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200218141305.1258394-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c