diff options
author | Simon Farnsworth <simon.farnsworth@onelan.co.uk> | 2008-11-29 03:34:44 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2008-11-29 03:34:44 +0100 |
commit | 171ee8d513511ab6ead40a8cd5e2f2b3398520af (patch) | |
tree | 5bfcd626a8464ec3135d7d7e6c6c2ac2aec00372 | |
parent | 07aceb1504712cb464d67b843c32d6e5c576f871 (diff) |
Host: Allow more memory bandwidth when using DDR2 533.
This allows the hardware to use 1920x1200 successfully.
-rw-r--r-- | src/via_host.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/via_host.c b/src/via_host.c index c454720..28fc0cc 100644 --- a/src/via_host.c +++ b/src/via_host.c @@ -599,8 +599,10 @@ ViaFBInit(ScrnInfoPtr pScrn) /* should be hostbridge specific and should be extended */ if (pVia->MemType == VIA_MEM_DDR_200) pVia->Bandwidth = 394000000; /* 1280x1024@75Hz */ - else + else if (pVia->MemType < VIA_MEM_DDR2_533) pVia->Bandwidth = 461000000; /* 1600x1200@60Hz */ + else + pVia->Bandwidth = 553000000; /* 1920x1200@60Hz */ pVia->videoRambytes = pScrn->videoRam << 10; xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Using %dkB of RAM (%s)\n", |