]> 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)
commit967e74d9920cd09dfd9527b8ffdf0e3462204cb3
tree414a8a24dcf2cbe4a49d35e4650af79b4cff8d19
parent3987c78a79d9ffa6c9bc4c32b37fcc4eaf6c7fcd
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