Skip to content

Commit

Permalink
drm/i915: Correct the bit number for the MI_FLUSH_ENABLE.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Anholt authored and Daniel Vetter committed Jan 25, 2012
1 parent 8d79c34 commit fc74d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@

#define MI_MODE 0x0209c
# define VS_TIMER_DISPATCH (1 << 6)
# define MI_FLUSH_ENABLE (1 << 11)
# define MI_FLUSH_ENABLE (1 << 12)

#define GFX_MODE 0x02520
#define GFX_MODE_GEN7 0x0229c
Expand Down

0 comments on commit fc74d8e

Please sign in to comment.