]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix FDI frequency check
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jul 2010 21:06:43 +0000 (14:06 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:46 +0000 (19:03 -0700)
commit3098de96efea8a860f0bc67a49a037abfbebc59f
treee6a1d160714fd53cbbbeeb9ac4f7297d71cdacdc
parenta8d8a7e76e193d05bae586d951ef8fd10825aa66
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