]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Force the CS stall for invalidate flushes
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 16 Dec 2014 08:44:32 +0000 (08:44 +0000)
committerJani Nikula <jani.nikula@intel.com>
Tue, 16 Dec 2014 13:06:48 +0000 (15:06 +0200)
commit51f29ef15ca36f0fa87f43f718814a2458283c1a
tree0025131e13d320a2a644f375a869f93a41311873
parent497f724510039efcae1094d91ed8d4947cc1c06a
drm/i915: Force the CS stall for invalidate flushes

In order to act as a full command barrier by itself, we need to tell the
pipecontrol to actually stall the command streamer while the flush runs.
We require the full command barrier before operations like
MI_SET_CONTEXT, which currently rely on a prior invalidate flush.

References: https://bugs.freedesktop.org/show_bug.cgi?id=83677
Cc: Simon Farnsworth <simon@farnz.org.uk>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.c