# $Id: xorg-oqo_siliconmotion.diff,v 1.1 2005/06/25 04:19:30 jcs Exp $ # XXX: committed to openbsd and xorg # # enable the odd 800x480 resolution used by the oqo model 01's lcd screen # # by joshua stein # Index: xc/programs/Xserver/hw/xfree86/drivers/siliconmotion/smi_driver.c =================================================================== RCS file: /cvs/XF4/xc/programs/Xserver/hw/xfree86/drivers/siliconmotion/smi_driver.c,v retrieving revision 1.4 diff -u -r1.4 smi_driver.c --- xc/programs/Xserver/hw/xfree86/drivers/siliconmotion/smi_driver.c 3 Nov 2004 00:08:42 -0000 1.4 +++ xc/programs/Xserver/hw/xfree86/drivers/siliconmotion/smi_driver.c 25 Jun 2005 04:17:55 -0000 @@ -2857,6 +2857,11 @@ { 640, 480, 16, 0x52 }, { 640, 480, 24, 0x53 }, { 640, 480, 32, 0x54 }, + /* begin oqo internal lcd support */ + { 800, 480, 8, 0x4A }, + { 800, 480, 16, 0x4C }, + { 800, 480, 24, 0x4D }, + /* end oqo support */ { 800, 600, 8, 0x55 }, { 800, 600, 16, 0x57 }, { 800, 600, 24, 0x58 },