summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-01-06 14:58:15 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-01-11 09:46:23 +1000
commit17485c234ff191cee3dd19e3dd693a80b024e189 (patch)
treee69ec488f0ec8b186d4e8a39eecc0ee7b8e64308 /src/nv30_exa.c
parent061cb284b93612848296599759b915a4d66b6d01 (diff)
downloadxorg-driver-xf86-video-nouveau-17485c234ff191cee3dd19e3dd693a80b024e189.tar.gz
Initial pass at removal of non-KMS support.
It's likely there's a lot more that can be cleaned up/removed as a result of this, we can handle that as we come across it. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net> Acked-by: Maarten Maathuis <madman2003@gmail.com>
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index 6350828..a50a6eb 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -679,7 +679,7 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn)
#define NV35TCL_CHIPSET_3X_MASK 0x000001e0
#define NV34TCL_CHIPSET_3X_MASK 0x00000010
- chipset = (nvReadMC(pNv, NV_PMC_BOOT_0) >> 20) & 0xff;
+ chipset = pNv->NVArch;
if ((chipset & 0xf0) != NV_ARCH_30)
return TRUE;
chipset &= 0xf;