lxfb_core: support 800x480 panel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: pavel
Date: Thursday, March 11, 2010 - 12:00 pm

I need something like this to support full resolution of internal LCD
panel on Kohjinsha subnotebook.

(Note: I basically made up the numbers, if someone knows how to
generate them properly, let me know. It somehow works even on external
display, but last few columns are missing.)

Signed-off-by: Pavel Machek <pavel@ucw.cz>

index 889cbe3..2c04a01 100644
--- a/drivers/video/geode/lxfb_core.c
+++ b/drivers/video/geode/lxfb_core.c
@@ -37,6 +37,9 @@ static int vt_switch;
  */
 
 static struct fb_videomode geode_modedb[] __initdata = {
+	/* 800x480-?? */
+	{ NULL, 60, 800, 480, 25131, 72, 32, 29, 1, 136, 6,
+	  0, FB_VMODE_NONINTERLACED, 0 },
 	/* 640x480-60 */
 	{ NULL, 60, 640, 480, 39682, 48, 8, 25, 2, 88, 2,
 	  FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lxfb_core: support 800x480 panel, pavel, (Thu Mar 11, 12:00 pm)