OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3deb20
)
drm/i915: Disable the surface tile swizzling on Sandybridge.
author
Eric Anholt
<eric@anholt.net>
Thu, 5 Nov 2009 23:30:35 +0000
(15:30 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 26 Feb 2010 21:23:18 +0000
(13:23 -0800)
I can't explain this, except that it makes my display correct.
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index
ce28f18
..
3fe9073
100644
(file)
--- 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);