summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv10_graph.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-10-21 11:37:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 15:11:01 +1000
commit01d63187d1aad6236dd229d5824c61a60f1ab42c (patch)
treefade0c30b476e5291e38833ac0a20d119202c4f9 /drivers/gpu/drm/nouveau/nv10_graph.c
parent8888cb18ffd1f32c51e61ca8d3d179c3c3946d1e (diff)
downloadop-kernel-dev-01d63187d1aad6236dd229d5824c61a60f1ab42c.zip
op-kernel-dev-01d63187d1aad6236dd229d5824c61a60f1ab42c.tar.gz
drm/nv10: fix thinko and let nv17 do 3d again :)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv10_graph.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv10_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv10_graph.c b/drivers/gpu/drm/nouveau/nv10_graph.c
index 17c20db..a571bfd 100644
--- a/drivers/gpu/drm/nouveau/nv10_graph.c
+++ b/drivers/gpu/drm/nouveau/nv10_graph.c
@@ -1102,7 +1102,7 @@ nv10_graph_register(struct drm_device *dev)
if (dev_priv->chipset <= 0x10) {
NVOBJ_CLASS(dev, 0x0056, GR);
} else
- if (dev_priv->chipset <= 0x17 || dev_priv->chipset == 0x1a) {
+ if (dev_priv->chipset < 0x17 || dev_priv->chipset == 0x1a) {
NVOBJ_CLASS(dev, 0x0096, GR);
} else {
NVOBJ_CLASS(dev, 0x0099, GR);
OpenPOWER on IntegriCloud