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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv40_exa.c b/src/nv40_exa.c
index 2b36f2d..9b0d2c7 100644
--- a/src/nv40_exa.c
+++ b/src/nv40_exa.c
@@ -612,8 +612,8 @@ NVAccelInitNV40TCL(ScrnInfoPtr pScrn)
if (!nv40_fp_map_a8[0])
NV40EXAHackupA8Shaders(pScrn);
- chipset = pNv->NVArch;
- if ( (chipset & 0xf0) == NV_ARCH_40) {
+ chipset = pNv->dev->chipset;
+ if ((chipset & 0xf0) == NV_ARCH_40) {
chipset &= 0xf;
if (NV40TCL_CHIPSET_4X_MASK & (1<<chipset))
class = NV40TCL;