diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-05 15:30:35 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-26 13:23:18 -0800 |
commit | c2416fc6bb16fa87bcc4b9d90a7632f3531bdee6 (patch) | |
tree | 02de787f2c323368aab11784f06a70485d53e81c | |
parent | e3deb204c69c485c88c990f07b71be10a464e508 (diff) | |
download | op-kernel-dev-c2416fc6bb16fa87bcc4b9d90a7632f3531bdee6.zip op-kernel-dev-c2416fc6bb16fa87bcc4b9d90a7632f3531bdee6.tar.gz |
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>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
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 ce28f18..3fe9073 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); |