summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-09-07 20:07:13 +1000
committerBen Skeggs <skeggsb@gmail.com>2007-09-07 20:07:13 +1000
commit06bb07259531d10df2c1979919af899e3812057b (patch)
tree1cca885ade54d8f91bd488abe9186a90d2a43739 /shared-core
parent54c96cbc46a21e05cf991d0e4a26da58bd87ce85 (diff)
nouveau: Use nv41 ctxprog/vals on nv42.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nv40_graph.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/nv40_graph.c b/shared-core/nv40_graph.c
index 99c77cb9..3f3df515 100644
--- a/shared-core/nv40_graph.c
+++ b/shared-core/nv40_graph.c
@@ -1349,6 +1349,7 @@ nv40_graph_create_context(struct nouveau_channel *chan)
ctx_init = nv40_graph_context_init;
break;
case 0x41:
+ case 0x42:
ctx_size = NV41_GRCTX_SIZE;
ctx_init = nv41_graph_context_init;
break;
@@ -1829,7 +1830,8 @@ nv40_graph_init(struct drm_device *dev)
switch (dev_priv->chipset) {
case 0x40: ctx_voodoo = nv40_ctx_voodoo; break;
- case 0x41: ctx_voodoo = nv41_ctx_voodoo; break;
+ case 0x41:
+ case 0x42: ctx_voodoo = nv41_ctx_voodoo; break;
case 0x43: ctx_voodoo = nv43_ctx_voodoo; break;
case 0x44: ctx_voodoo = nv44_ctx_voodoo; break;
case 0x46: ctx_voodoo = nv46_ctx_voodoo; break;