]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Improve precision on defer_request assert
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 May 2020 10:42:20 +0000 (11:42 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 May 2020 14:09:11 +0000 (15:09 +0100)
commit2965eafd9f42e577bafaec06c24ce95eba8f0efb
tree5a1adf17ddd7fded8f7b247851297d1d679e75bf
parenta06ac21a68eb277d4833467b87eeb53d4d44bb37
drm/i915/gt: Improve precision on defer_request assert

The kernel_context does not use initial-breadcrumbs, so when we ask if
its requests have started we do so by comparing against the completion
seqno of the previous request. This is very imprecise, not precise
enough for the defer_request assertion.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1847
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200508104220.9872-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c