]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Improve the start alignment of bonded pairs
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Mar 2020 13:38:38 +0000 (13:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Mar 2020 11:13:33 +0000 (11:13 +0000)
commit570219e734c6ff959806ed7f09fbab1e3fcebd2c
tree9d5b06a1dbf828d97bf053ca2bb3ba0be6d02a02
parent498300f1f74277917d99ba2206e1d40badedadf7
drm/i915: Improve the start alignment of bonded pairs

Always wait on the start of the signaler request to reduce the problem
of dequeueing the bonded pair too early -- we want both payloads to
start at the same time, with no latency, and yet still allow others to
make full use of the slack in the system. This reduce the amount of time
we spend waiting on the semaphore used to synchronise the start of the
bonded payload.

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/20200306133852.3420322-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c