]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: Correct the bit number for the MI_FLUSH_ENABLE.
authorEric Anholt <eric@anholt.net>
Thu, 19 Jan 2012 18:50:06 +0000 (10:50 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:45 +0000 (04:33 +0000)
commit fc74d8e01165b567922921d110b6d16320a61fa6 upstream.

Older specs claimed this was bit 11, but newer specs and the actual
simulator code say it was bit 12.  Regardless, we don't use MI_FLUSH,
or try to enable it any more.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Anyone trying to use this bit, please read all the relevant
discussions, it's epic.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/i915/i915_reg.h

index 7a10f5fed1fb50f51f50f7c18b2ff162d6c02fa1..56d931ae28ad1e65dab2abf18d27a03268b32661 100644 (file)
 
 #define MI_MODE                0x0209c
 # define VS_TIMER_DISPATCH                             (1 << 6)
-# define MI_FLUSH_ENABLE                               (1 << 11)
+# define MI_FLUSH_ENABLE                               (1 << 12)
 
 #define GEN6_GT_MODE   0x20d0
 #define   GEN6_GT_MODE_HI      (1 << 9)