diff options
author | Andres Salomon <dilinger@queued.net> | 2008-11-26 01:39:28 -0500 |
---|---|---|
committer | Jordan Crouse <jordan@cosmicpenguin.net> | 2008-11-26 09:08:53 -0700 |
commit | 8080f7a01cf62a13c5a32013668b2796c23d97a4 (patch) | |
tree | e8753aa7518c07a316b9d803c860ccd52e78f7b7 /src/geode.h | |
parent | f57f2bd7161d4a7c2ededfc43a7709fb06213b99 (diff) |
xf86-video-geode: DCON: set the default (physical) screen size if we detect a DCON
We can be assured that a DCON device has an OLPC panel that's 152x114 mm.
This adds fields to GeodeRec to allow other panels to potentially
override physical width/height fields, and also allows xorg.conf to
override the values.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'src/geode.h')
-rw-r--r-- | src/geode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/geode.h b/src/geode.h index e748ec6..37bee2e 100644 --- a/src/geode.h +++ b/src/geode.h @@ -196,6 +196,8 @@ typedef struct _geodeRec Bool tryCompression; Bool tryHWCursor; + int mm_width, mm_height; /* physical display size */ + unsigned long CursorStartOffset; int Pitch; /* display FB pitch */ |