diff options
author | Jeremy Kolb <jkolb@brandeis.edu> | 2007-01-17 08:46:59 -0500 |
---|---|---|
committer | Jeremy Kolb <jkolb@brandeis.edu> | 2007-01-17 08:46:59 -0500 |
commit | 78a4f5c1bc37cbc581191f47b8b19250bfb86c1e (patch) | |
tree | b7af968001789b589af55affcf31ad0195073811 /shared-core/nouveau_state.c | |
parent | fdbc34fab03eba8d257e14c6d557ffed5fa32c2d (diff) |
nouveau: Try to get nv35 pgraph switching working. Doesn't quite yet.
Hook into nv20 pgraph switching functions (they're identical for nv3x).
Actually call nv30_pgraph_context_init so the ctx_table is allocated.
Thanks to Carlos Martin for the help.
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r-- | shared-core/nouveau_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index f324c5ff..fb35ba74 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -96,8 +96,8 @@ int nouveau_firstopen(struct drm_device *dev) /* FIXME: doesn't belong here, and have no idea what it's for.. */ if (dev_priv->card_type >= NV_40) nv40_graph_init(dev); - else if (dev_priv->card_type >= NV_30) { - } + else if (dev_priv->card_type >= NV_30) + nv30_graph_init(dev); else if (dev_priv->card_type >= NV_20) nv20_graph_init(dev); else if (dev_priv->card_type >= NV_10) |