OSDN Git Service

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)
commitf9a4ea35b87c28c08134dfc146345f77345a99be
tree414a8a24dcf2cbe4a49d35e4650af79b4cff8d19
parent215a7e3210eb208abe634480741e418b5a8bf60c
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