From: Eric Anholt Date: Thu, 5 Nov 2009 23:30:35 +0000 (-0800) Subject: drm/i915: Disable the surface tile swizzling on Sandybridge. X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~27049^2~11^2~17 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c2416fc6bb16fa87bcc4b9d90a7632f3531bdee6;p=mirror_ubuntu-focal-kernel.git 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 --- 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, 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);