summaryrefslogtreecommitdiff
path: root/src/nv40_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv40_exa.c')
-rw-r--r--src/nv40_exa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nv40_exa.c b/src/nv40_exa.c
index 03efce4..2b36f2d 100644
--- a/src/nv40_exa.c
+++ b/src/nv40_exa.c
@@ -612,8 +612,7 @@ NVAccelInitNV40TCL(ScrnInfoPtr pScrn)
612 if (!nv40_fp_map_a8[0]) 612 if (!nv40_fp_map_a8[0])
613 NV40EXAHackupA8Shaders(pScrn); 613 NV40EXAHackupA8Shaders(pScrn);
614 614
615 chipset = (nvReadMC(pNv, NV_PMC_BOOT_0) >> 20) & 0xff; 615 chipset = pNv->NVArch;
616
617 if ( (chipset & 0xf0) == NV_ARCH_40) { 616 if ( (chipset & 0xf0) == NV_ARCH_40) {
618 chipset &= 0xf; 617 chipset &= 0xf;
619 if (NV40TCL_CHIPSET_4X_MASK & (1<<chipset)) 618 if (NV40TCL_CHIPSET_4X_MASK & (1<<chipset))