Skip to content

Commit

Permalink
drm/i915: Disable the surface tile swizzling on Sandybridge.
Browse files Browse the repository at this point in the history
I can't explain this, except that it makes my display correct.

Signed-off-by: Eric Anholt <eric@anholt.net>
  • Loading branch information
Eric Anholt committed Feb 26, 2010
1 parent e3deb20 commit c2416fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c2416fc

Please sign in to comment.