diff options
author | root <root@treble.(none)> | 2007-03-11 00:38:11 -0800 |
---|---|---|
committer | root <root@treble.(none)> | 2007-03-11 00:43:11 -0800 |
commit | 7e0e5c1fb38922add99db33f282baf2ee1531685 (patch) | |
tree | 1688eda2548ade19ab19fc5e56cb5c25cb9c2447 /src/g80_type.h | |
parent | 636adcd57f1c5b33edf2d8fbf9e7fa9aac1ccb1a (diff) |
Initial RandR 1.2 support for G80.
Mostly just rearranging code.
Diffstat (limited to 'src/g80_type.h')
-rw-r--r-- | src/g80_type.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/g80_type.h b/src/g80_type.h index 20b5e8b..6c031c4 100644 --- a/src/g80_type.h +++ b/src/g80_type.h @@ -2,6 +2,9 @@ #include <xf86.h> #include <xf86int10.h> #include <xf86Cursor.h> +#include <xf86DDC.h> +#include <xf86Crtc.h> +#include <xf86int10.h> typedef enum Head { HEAD0 = 0, @@ -36,12 +39,6 @@ typedef struct G80Rec { ORNum sor; } i2cMap[4]; - float pclk; /* Current mode pclk in kHz */ - - Head head; - ORType orType; - ORNum or; - xf86Int10InfoPtr int10; int int10Mode; /* Console mode to restore */ @@ -67,8 +64,9 @@ typedef struct G80Rec { CARD32 * dmaBase; void (*DMAKickoffCallback)(ScrnInfoPtr); - CloseScreenProcPtr CloseScreen; - ScreenBlockHandlerProcPtr BlockHandler; + CreateScreenResourcesProcPtr CreateScreenResources; + CloseScreenProcPtr CloseScreen; + ScreenBlockHandlerProcPtr BlockHandler; } G80Rec, *G80Ptr; #define G80PTR(p) ((G80Ptr)((p)->driverPrivate)) |