[Xorg-driver-geode] [PATCH 3/3] Add resolution 1024x600 support for PANEL

Huang, FrankR FrankR.Huang at amd.com
Wed Sep 29 01:45:56 PDT 2010


From: Frank Huang <frankr.huang at amd.com>

*Users can not get 1024x600 by default when using panel without xorg.conf.
Add this screen resolution to the panel_modes table to support it by default.
*Users who are using VGA will get this resolution by the monitor EDID. No
code is needed
*Use gtf tool to get the parameters
*Ubuntu bugzilla #433142

Signed-off-by: Frank Huang <frankr.huang at amd.com>
---
 src/lx_panel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lx_panel.c b/src/lx_panel.c
index 2e076d4..387e1be 100644
--- a/src/lx_panel.c
+++ b/src/lx_panel.c
@@ -57,6 +57,9 @@ DisplayModeRec lx_panel_modes[] = {
     {MODEPREFIX, 40000, 800, 840, 968, 1056, 0, 600, 601, 605, 628, 0,
 	V_NHSYNC | V_NVSYNC, MODESUFFIX}
     ,				       /* 880x600 at 60 */
+    {MODEPREFIX, 48960, 1024, 1064, 1168, 1312, 0, 600, 601, 604, 622, 0,
+	V_NHSYNC | V_NVSYNC, MODESUFFIX}
+    ,				       /* 1024x600 at 60 */
     {MODEPREFIX, 65000, 1024, 1048, 1184, 1344, 0, 768, 771, 777, 806, 0,
 	V_NHSYNC | V_NVSYNC, MODESUFFIX}
     ,				       /* 1024x768 at 60 */
-- 
1.7.1




More information about the Xorg-driver-geode mailing list