diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-04-28 14:43:12 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-04-28 14:44:03 -0700 |
commit | c0c7d610800161976fd7dce064beae05d2d4195b (patch) | |
tree | 54f000e79de6f8d7085c679e9e36caee9143c91f /src/g80_driver.c | |
parent | b62a7cf70db356918aa04fb3f30bf1fd1142b9d5 (diff) |
I win at C.
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r-- | src/g80_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c index 7223f56..1a83544 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -367,8 +367,7 @@ G80PreInit(ScrnInfoPtr pScrn, int flags) } pNv->architecture = pNv->reg[0] >> 20 & 0x1ff; - pNv->RamAmountKBytes = pNv->RamAmountKBytes = (pNv->reg[0x0010020C/4] & 0xFFF00000) >> 10; - pNv->videoRam = pNv->RamAmountKBytes; + pNv->videoRam = pNv->RamAmountKBytes = (pNv->reg[0x0010020C/4] & 0xFFF00000) >> 10; /* Determine the size of BAR1 */ /* Some configs have BAR1 < total RAM < 256 MB */ |