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)
commit798fa870abf519e8269bb63536d31db773a860d9
tree9d5b06a1dbf828d97bf053ca2bb3ba0be6d02a02
parentf494960d5ee79e909214560c6b64b245fbe6c230
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