diff options
author | Egbert Eich <eich@suse.de> | 2004-07-06 14:37:47 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-07-06 14:37:47 +0000 |
commit | 986bc24892e7ce3784fc723fda54b1f89dd75b66 (patch) | |
tree | cd8e25cb6b090f380f040860d188a9379763391c /src/i830.h | |
parent | b7310758e60956a7de14dcf968bb713dfc56738f (diff) |
Increase default video RAM size to 16MB when DRI is enabled and more than 128MB
are available (Egbert Eich).
Fixed lockups during mode switch. Problem was introduced when attempting to copy
the behavior during LeaveVT()/EnterVT() but but forgetting to call
I810DRILeave() before I810DRIEnter(). The entire DRILeave()/Enter() scenario has
been commented out as it didn't seem to be necessary (Egbert Eich).
Fix TweakMemorySize() (tested with i855/i865) (Egbert Eich).
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -451,7 +451,8 @@ extern void I830ChangeFrontbuffer(ScrnInfoPtr pScrn,int buffer); #define ALLOCATE_DRY_RUN 0x80000000 /* Chipset registers for VIDEO BIOS memory RW access */ -#define DRAM_RW_CONTROL 0x58 +#define _855_DRAM_RW_CONTROL 0x58 +#define _845_DRAM_RW_CONTROL 0x90 #define DRAM_WRITE 0x33330000 #endif /* _I830_H_ */ |