[Intel-gfx] [PATCH -next 1/2] drm/i915: restore FDI link rate on sandybridge
Zhenyu Wang
zhenyuw at linux.intel.com
Wed Oct 13 10:40:11 CEST 2010
FDI_PLL_BIOS_0 register is for Ironlake only, don't apply to Sandybridge.
Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 8e98d70..b711e98 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3709,7 +3709,10 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
* Hence the bw of each lane in terms of the mode signal
* is:
*/
- link_bw = intel_fdi_link_freq(dev) * MHz(100)/KHz(1)/10;
+ if (IS_GEN5(dev))
+ link_bw = intel_fdi_link_freq(dev) * MHz(100)/KHz(1)/10;
+ else
+ link_bw = 270000;
}
/* determine panel color depth */
--
1.7.0.4
More information about the Intel-gfx
mailing list