savagefb: Use panel CVT mode as default
authorTormod Volden <debian.tormod@gmail.com>
Sat, 28 May 2011 15:06:11 +0000 (15:06 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Jun 2011 08:05:18 +0000 (17:05 +0900)
commit1bae852fb0beca3cc95b8de84efbc7254cae62e1
treeee718e272f1c6bbd1ab0e168946727f2b1ee592e
parent554cc1028603587e28ae49e9594b1508df5f29aa
savagefb: Use panel CVT mode as default

If there is no EDID but an LCD panel is detected, generate a CVT
mode from the panel resolution (at 60 Hz), and use this as a
default mode instead of the hardcoded 800x600x8 mode.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/modedb.c
drivers/video/savage/savagefb_driver.c