Commit c2416fc6 authored by Eric Anholt's avatar Eric Anholt

drm/i915: Disable the surface tile swizzling on Sandybridge.

I can't explain this, except that it makes my display correct.
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent e3deb204
...@@ -3419,7 +3419,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, ...@@ -3419,7 +3419,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
intel_wait_for_vblank(dev); intel_wait_for_vblank(dev);
if (HAS_PCH_SPLIT(dev)) { if (IS_IRONLAKE(dev)) {
/* enable address swizzle for tiling buffer */ /* enable address swizzle for tiling buffer */
temp = I915_READ(DISP_ARB_CTL); temp = I915_READ(DISP_ARB_CTL);
I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING); I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment