drm/i915: Remove the MI_FLUSH_ENABLE setting.
authorEric Anholt <eric@anholt.net>
Thu, 19 Jan 2012 18:50:05 +0000 (10:50 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:45 +0000 (04:33 +0000)
commitcba89978ad340768a908c03d0bb39c8003f33e84
treebcaba281cacd30f976bdc38e2123e02914bb7157
parente733f37ff20d1075e16485afb2aa99adc7141c0e
drm/i915: Remove the MI_FLUSH_ENABLE setting.

commit 8d79c3490aecfe6e51f0ba6f9780746fb1434954 upstream.

We have always been using the wrong bit -- it's bit 12.  However, the
bit also doesn't do anything -- hardware has always accepted the
MI_FLUSH command even when it was specced not to.

Given that there is only one MI_FLUSH emitted in all of the driver
stack on gen6+ (in i965_video.c of the 2d driver, and it should be
using other code to do its flush instead), just remove the MI_FLUSH
enable instead of trying to fix it.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c