]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix serialisation of pipecontrol write vs semaphore signal
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:18:24 +0000 (13:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 12:59:41 +0000 (13:59 +0100)
commitb6741b977a457916408479ffc598dd8d3436232e
tree414a8a24dcf2cbe4a49d35e4650af79b4cff8d19
parent9512b4e4ffb44a4fffbe254397c7fc5375c9832e
drm/i915: Fix serialisation of pipecontrol write vs semaphore signal

In order for the MI_SEMAPHORE_SIGNAL command to wait until after the
pipecontrol writing the signal value is complete, we have to pause the
CS inside the PIPE_CONTROL with the CS_STALL bit.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461932305-14637-4-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c