diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-17 10:07:36 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-17 10:07:36 +1000 |
commit | 7dd8987b8b69f56d04a199207122d2e51b9caa6e (patch) | |
tree | 84d9d92c9299b27b57a6f453cf27f6e5c9b5b27c | |
parent | 98ee2105dbd8685e59c1967a587fccb6135743ac (diff) | |
download | xorg-driver-xf86-video-nouveau-7dd8987b8b69f56d04a199207122d2e51b9caa6e.tar.gz |
nvc0: assume 0x9097's presence on all chipsets
This appears to be the case thus far, and is what the 3D driver does.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | src/nvc0_accel.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/nvc0_accel.c b/src/nvc0_accel.c index c37b30c..40bb2ef 100644 --- a/src/nvc0_accel.c +++ b/src/nvc0_accel.c @@ -87,22 +87,10 @@ NVAccelInit3D_NVC0(ScrnInfoPtr pScrn) struct nouveau_channel *chan = pNv->chan; struct nouveau_grobj *fermi, *m2mf; struct nouveau_bo *bo; - uint32_t tclClass; int ret, i; - switch (pNv->dev->chipset) { - case 0xc0: - case 0xc1: - case 0xc3: - case 0xc4: - tclClass = 0x9097; - break; - default: - return FALSE; - } - if (!pNv->Nv3D) { - ret = nouveau_grobj_alloc(chan, tclClass, tclClass, &pNv->Nv3D); + ret = nouveau_grobj_alloc(chan, 0x9097, 0x9097, &pNv->Nv3D); if (ret) return FALSE; |