From: Jesse Barnes Date: Fri, 12 Aug 2011 22:28:32 +0000 (-0700) Subject: drm/i915: set GFX_MODE to pre-Ivybridge default value even on Ivybridge X-Git-Tag: v3.1-rc3~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b095cd0a0ccdbc00c9fd99d90b22f8563687971f;p=pandora-kernel.git drm/i915: set GFX_MODE to pre-Ivybridge default value even on Ivybridge Prior to Ivybridge, the GFX_MODE would default to 0x800, meaning that MI_FLUSH would flush the TLBs in addition to the rest of the caches indicated in the MI_FLUSH command. However starting with Ivybridge, the register defaults to 0x2800 out of reset, meaning that to invalidate the TLB we need to use PIPE_CONTROL. Since we're not doing that yet, go back to the old default so things work. v2: don't forget to actually *clear* the new bit Reviewed-by: Eric Anholt Reviewed-by: Chris Wilson Tested-by: Kenneth Graunke Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed