summaryrefslogtreecommitdiff
path: root/src/amd.h
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2006-08-04 14:23:52 -0600
committerJordan Crouse <jordan.crouse@amd.com>2006-08-04 14:25:14 -0600
commit4a29b63925ea8ffa4e220925dd8aca280fd887a7 (patch)
treeb6076c5beb8bb59e934762206f9a161cc40ae5fb /src/amd.h
parent7a49bf6205d77a22b07c785f2cb589abd8671667 (diff)
PATCH: Add specific support for the OLPC dcon panel
The OLPC dcon panel operates differently then the other panels in the GX universe.
Diffstat (limited to 'src/amd.h')
-rw-r--r--src/amd.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/amd.h b/src/amd.h
index 81cea64..467cf86 100644
--- a/src/amd.h
+++ b/src/amd.h
@@ -298,6 +298,7 @@ typedef struct
Bool TV_Overscan_On;
Bool Panel;
+ Bool dconPanel;
/* Flatpanel support from Bios */
int FPBX; /* xres */
@@ -481,11 +482,19 @@ enum
GX_OPTION_OSM_IMG_BUFS,
GX_OPTION_OSM_CLR_BUFS,
GX_OPTION_CUSTOM_MODE,
- GX_OPTION_FBSIZE,
- GX_OPTION_NOVGA,
+ GX_OPTION_FBSIZE,
+ GX_OPTION_NOVGA,
+ GX_OPTION_DCONPANEL,
GX_OPTION_DONT_PROGRAM
}
GX_GeodeOpts;
#endif
+/* OLPC defines */
+
+#define DCON_DEFAULT_XRES 1200
+#define DCON_DEFAULT_YRES 900
+#define DCON_DEFAULT_BPP 16
+#define DCON_DEFAULT_REFRESH 50
+
#endif /* _AMD_GEODE_H_ */