drm/i915: fix FDI frequency check
commit2377b741abec485449d145e5065dd2b7dd64226f
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jul 2010 21:06:43 +0000 (7 14:06 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:46 +0000 (1 19:03 -0700)
treee6a1d160714fd53cbbbeeb9ac4f7297d71cdacdc
parent3ca87e82831f040986f27aef44fc61c8ddf6ee79
drm/i915: fix FDI frequency check

Since mode->clock is in kHz we should be checking against 2700000
instead of just 27000.  This patch gets my x201s working again (well
working as well as it ever was anyway).

When looking for this I also noticed we set link_bw to 270000, but the
calculation is different.  Does it also need to use kHz or we using
10kHz internally?

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c