]> Git Repo - linux.git/commit - drivers/gpu/drm/i915/intel_ringbuffer.c
drm/i915: Simplify calling engine->sync_to
authorChris Wilson <[email protected]>
Tue, 2 Aug 2016 21:50:39 +0000 (22:50 +0100)
committerChris Wilson <[email protected]>
Tue, 2 Aug 2016 21:58:32 +0000 (22:58 +0100)
commitddf07be7a2aeb80aa159a7eeade01b7b5e1e3e43
tree1c9d8e202c79ca516e9c2ac31c7fe1d465d1eabf
parent5b043f4e60ff72d1a0348871e33c176e4005ae9b
drm/i915: Simplify calling engine->sync_to

Since requests can no longer be generated as a side-effect of
intel_ring_begin(), we know that the seqno will be unchanged during
ring-emission. This predicatablity then means we do not have to check
for the seqno wrapping around whilst emitting the semaphore for
engine->sync_to().

Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h
This page took 0.068074 seconds and 4 git commands to generate.