aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-05 15:30:35 -0800
committerEric Anholt <eric@anholt.net>2010-02-26 13:23:18 -0800
commitc2416fc6bb16fa87bcc4b9d90a7632f3531bdee6 (patch)
tree02de787f2c323368aab11784f06a70485d53e81c /drivers/gpu/drm/i915
parente3deb204c69c485c88c990f07b71be10a464e508 (diff)
drm/i915: Disable the surface tile swizzling on Sandybridge.
I can't explain this, except that it makes my display correct. Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index ce28f18e085..3fe90730b0f 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3419,7 +3419,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
intel_wait_for_vblank(dev);
- if (HAS_PCH_SPLIT(dev)) {
+ if (IS_IRONLAKE(dev)) {
/* enable address swizzle for tiling buffer */
temp = I915_READ(DISP_ARB_CTL);
I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING);