summaryrefslogtreecommitdiff
path: root/src/nv_hw.c
diff options
context:
space:
mode:
authorMarkus Strobl <markus.strobl@gmx.at>2010-03-10 18:26:33 -0800
committerAaron Plattner <aplattner@nvidia.com>2010-03-10 18:28:07 -0800
commit347625b8e187c4ab696cd1dad95e49c31ced12f6 (patch)
tree9b9ec38aee98ca3f1e5436e5421f0ceef2e7f74e /src/nv_hw.c
parente6b046329480a26ecebadf4314673db3f107f83e (diff)
Bug #19817: Add support for GeForce 7025 and 7050.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'src/nv_hw.c')
-rw-r--r--src/nv_hw.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nv_hw.c b/src/nv_hw.c
index 83eeab2..9291912 100644
--- a/src/nv_hw.c
+++ b/src/nv_hw.c
@@ -890,7 +890,8 @@ void NVCalcStateExt (
case NV_ARCH_30:
default:
if(((pNv->Chipset & 0xfff0) == 0x0240) ||
- ((pNv->Chipset & 0xfff0) == 0x03D0))
+ ((pNv->Chipset & 0xfff0) == 0x03D0) ||
+ ((pNv->Chipset & 0xfff0) == 0x0530))
{
state->arbitration0 = 128;
state->arbitration1 = 0x0480;
@@ -1226,6 +1227,7 @@ void NVLoadStateExt (
case 0x01D0:
case 0x0240:
case 0x03D0:
+ case 0x0530:
pNv->PMC[0x1700/4] = pNv->PFB[0x020C/4];
pNv->PMC[0x1704/4] = 0;
pNv->PMC[0x1708/4] = 0;
@@ -1316,7 +1318,8 @@ void NVLoadStateExt (
pNv->PGRAPH[(0x0900/4) + i] = pNv->PFB[(0x0600/4) + i];
if(((pNv->Chipset & 0xfff0) != 0x0160) &&
((pNv->Chipset & 0xfff0) != 0x0220) &&
- ((pNv->Chipset & 0xfff0) != 0x0240))
+ ((pNv->Chipset & 0xfff0) != 0x0240) &&
+ ((pNv->Chipset & 0xfff0) != 0x0530))
{
pNv->PGRAPH[(0x6900/4) + i] = pNv->PFB[(0x0600/4) + i];
}