]> git.ipfire.org Git - people/ms/linux.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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:39:27 +0000 (14:39 +0100)
commitdbe21f1df1b98409b2c8e3a7265625726e1a8a00
tree46e20e8d5438d60c15758cdfbf44ba4b36ac7968
parent41d3d4b130a2a3e709d19245cbf345f1b6abf02d
drm/i915: Force the CS stall for invalidate flushes

commit add284a3a2481e759d6bec35f6444c32c8ddc383 upstream.

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>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/i915/intel_ringbuffer.c