diff options
author | Keith Packard <keithp@keithp.com> | 2011-05-17 19:13:52 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-05-17 19:20:54 -0400 |
commit | 61e499bf05254aca0fab08e2c91643331a15e725 (patch) | |
tree | 12213383cbfe94959ca04b6827d3543abf9c106d /drivers | |
parent | a51f7a66fb5e4af5ec4286baef940d06594b59d2 (diff) |
drm/i915: FDI link training broken on Ironlake by Ivybridge integration
Commit 357555c00f8414057f0c12ee3f479f197264123d split out IVB-specific
register definitions for FDI link training, but a piece of that commit
stopped executing some critical code on Ironlake systems while leaving
it running on Sandybridge.
Turn that code back on both Ironlake and Sandybridge
Signed-off-by: Keith Packard <keithp@keithp.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 81ad654f3544..455d88578ea4 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -2056,12 +2056,12 @@ static void intel_fdi_normal_train(struct drm_crtc *crtc) | |||
2056 | /* enable normal train */ | 2056 | /* enable normal train */ |
2057 | reg = FDI_TX_CTL(pipe); | 2057 | reg = FDI_TX_CTL(pipe); |
2058 | temp = I915_READ(reg); | 2058 | temp = I915_READ(reg); |
2059 | if (IS_GEN6(dev)) { | 2059 | if (IS_IVYBRIDGE(dev)) { |
2060 | temp &= ~FDI_LINK_TRAIN_NONE; | ||
2061 | temp |= FDI_LINK_TRAIN_NONE | FDI_TX_ENHANCE_FRAME_ENABLE; | ||
2062 | } else if (IS_IVYBRIDGE(dev)) { | ||
2063 | temp &= ~FDI_LINK_TRAIN_NONE_IVB; | 2060 | temp &= ~FDI_LINK_TRAIN_NONE_IVB; |
2064 | temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; | 2061 | temp |= FDI_LINK_TRAIN_NONE_IVB | FDI_TX_ENHANCE_FRAME_ENABLE; |
2062 | } else { | ||
2063 | temp &= ~FDI_LINK_TRAIN_NONE; | ||
2064 | temp |= FDI_LINK_TRAIN_NONE | FDI_TX_ENHANCE_FRAME_ENABLE; | ||
2065 | } | 2065 | } |
2066 | I915_WRITE(reg, temp); | 2066 | I915_WRITE(reg, temp); |
2067 | 2067 | ||