Skip to content

Commit

Permalink
drm/i915: Drop the remaining bit of Ironlake code from i9xx_crtc_mode…
Browse files Browse the repository at this point in the history
…_set().

Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
  • Loading branch information
anholt authored and keith-packard committed May 10, 2011
1 parent c713bb0 commit db244b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -4899,12 +4899,6 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,

intel_wait_for_vblank(dev, pipe);

if (IS_GEN5(dev)) {
/* enable address swizzle for tiling buffer */
temp = I915_READ(DISP_ARB_CTL);
I915_WRITE(DISP_ARB_CTL, temp | DISP_TILE_SURFACE_SWIZZLING);
}

I915_WRITE(DSPCNTR(plane), dspcntr);
POSTING_READ(DSPCNTR(plane));

Expand Down

0 comments on commit db244b6

Please sign in to comment.