diff mbox

[-next,1/2] drm/i915: restore FDI link rate on sandybridge

Message ID 1286959212-2151-1-git-send-email-zhenyuw@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhenyu Wang Oct. 13, 2010, 8:40 a.m. UTC
None
diff mbox

Patch

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 */