]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle async cancellation in sentinel assert
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 24 Mar 2021 12:13:32 +0000 (12:13 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Mar 2021 23:58:14 +0000 (00:58 +0100)
commit4b4a126c36cb9f0cefc96b839b88532b4df3f11f
tree4f7befa470ef8d07e0ade26ee09ef7b2e524b4dd
parent939140da82b3ed882ca371d1412b880b0ebb7d14
drm/i915: Handle async cancellation in sentinel assert

With the watchdog cancelling requests asynchronously to preempt-to-busy we
need to relax one assert making it apply only to requests not in error.

v2:
 * Check against the correct request!

v3:
 * Simplify the check to avoid the question of when to sample the fence
   error vs sentinel bit.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210324121335.2307063-5-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_execlists_submission.c