Skip to contentSkip to conversation

lxfb_core: support 800x480 panel

PATCH [email protected] 1 participant 1 message Mar 11, 2010 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

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.)

index 889cbe3..2c04a01 100644

drivers/video/geode/lxfb_core.c +3 -0
@@ -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,