summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-04-27 13:37:42 -0400
committerAdam Jackson <ajax@redhat.com>2009-04-27 13:43:49 -0400
commit06b6ead9a1b367e08ed6b3e75dfde0ee3b4a82b8 (patch)
tree26480208e979ab9d0e6de19709678d0657f50672
parent8b84fe236a42336e87048317880cc437494655f1 (diff)
G200SE: Only force 16bpp on low-memory cards
-rw-r--r--src/mga_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 6876f6c..e229984 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -2045,7 +2045,7 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
pScrn->videoRam = MGACountRam(pScrn);
}
- if (pMga->is_G200SE)
+ if (pMga->is_G200SE && pScrn->videoRam < 2048)
pScrn->confScreen->defaultdepth = 16;
if (!xf86SetDepthBpp(pScrn, 0, 0, 0, flags24)) {