]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Clear semaphore immediately upon ELSP promotion
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Oct 2019 09:32:04 +0000 (10:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Oct 2019 10:51:13 +0000 (11:51 +0100)
commit802912aa408b0b39c48a75c4b997330ec89a04f0
tree9d0b4062af5a09edaaa1260cf34f89258c9c860e
parent0f734953097e6c0d936bd548d8131011b04e6f84
drm/i915/execlists: Clear semaphore immediately upon ELSP promotion

There is no significance to our delay before clearing the semaphore the
engine is waiting on, so release it as soon as we acknowledge the CS
update following our preemption request. This should allow the GPU to
resume work earlier, if it was stuck on the semaphore at the end of a
request.

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/20191015093204.25693-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c