git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/nv40: make detection of 0x4097-ful chipsets available everywhere
[pandora-kernel.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nv40_graph.c
diff --git
a/drivers/gpu/drm/nouveau/nv40_graph.c
b/drivers/gpu/drm/nouveau/nv40_graph.c
index
19ef92a
..
8870d72
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv40_graph.c
+++ b/
drivers/gpu/drm/nouveau/nv40_graph.c
@@
-451,8
+451,7
@@
nv40_graph_register(struct drm_device *dev)
NVOBJ_CLASS(dev, 0x309e, GR); /* swzsurf */
/* curie */
- if (dev_priv->chipset >= 0x60 ||
- 0x00005450 & (1 << (dev_priv->chipset & 0x0f)))
+ if (nv44_graph_class(dev))
NVOBJ_CLASS(dev, 0x4497, GR);
else
NVOBJ_CLASS(dev, 0x4097, GR);