projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa2c2e8
)
drm/nv50: 0x50c0 apparently works on NVA3+ too, so lets allow it
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 4 Nov 2010 23:40:00 +0000
(09:40 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:27 +0000
(15:11 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_graph.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_graph.c
b/drivers/gpu/drm/nouveau/nv50_graph.c
index 7a98d41c68a69594f4ae747dcf7bf66f289ccfa4..6785269f778aaf147462c50112781fe8500694da 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_graph.c
+++ b/
drivers/gpu/drm/nouveau/nv50_graph.c
@@
-451,11
+451,10
@@
nv50_graph_register(struct drm_device *dev)
}
/* compute */
- if (dev_priv->chipset <= 0xa0 ||
- dev_priv->chipset == 0xaa ||
- dev_priv->chipset == 0xac)
- NVOBJ_CLASS(dev, 0x50c0, GR);
- else
+ NVOBJ_CLASS(dev, 0x50c0, GR);
+ if (dev_priv->chipset > 0xa0 &&
+ dev_priv->chipset != 0xaa &&
+ dev_priv->chipset != 0xac)
NVOBJ_CLASS(dev, 0x85c0, GR);
dev_priv->engine.graph.registered = true;