diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-09-07 20:07:13 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-09-07 20:07:13 +1000 |
commit | 06bb07259531d10df2c1979919af899e3812057b (patch) | |
tree | 1cca885ade54d8f91bd488abe9186a90d2a43739 | |
parent | 54c96cbc46a21e05cf991d0e4a26da58bd87ce85 (diff) |
nouveau: Use nv41 ctxprog/vals on nv42.
-rw-r--r-- | shared-core/nv40_graph.c | 4 |
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; |