commit | fcf7df7aae24facdedf42d76842e97ecc2f5d5bb | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Feb 14 12:06:59 2020 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Feb 14 15:47:24 2020 +0000 |
tree | a1f5036e9c656a2b8c57ef27b4dd8a14cf4c3c91 | |
parent | 926b005cd8c4e325ab918edea0fbdd1d25d1ba28 [diff] |
drm/i915/selftests: Check for the error interrupt before we wait! 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 <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200214120659.3888735-1-chris@chris-wilson.co.uk