diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-05 18:30:35 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-26 16:23:18 -0500 |
commit | c2416fc6bb16fa87bcc4b9d90a7632f3531bdee6 (patch) | |
tree | 02de787f2c323368aab11784f06a70485d53e81c /drivers/gpu/drm | |
parent | e3deb204c69c485c88c990f07b71be10a464e508 (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')
-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 ce28f18e0852..3fe90730b0ff 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, | |||
3419 | 3419 | ||
3420 | intel_wait_for_vblank(dev); | 3420 | intel_wait_for_vblank(dev); |
3421 | 3421 | ||
3422 | if (HAS_PCH_SPLIT(dev)) { | 3422 | if (IS_IRONLAKE(dev)) { |
3423 | /* enable address swizzle for tiling buffer */ | 3423 | /* enable address swizzle for tiling buffer */ |
3424 | temp = I915_READ(DISP_ARB_CTL); | 3424 | temp = I915_READ(DISP_ARB_CTL); |
3425 | I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING); | 3425 | I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING); |