diff options
author | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-13 23:19:41 +0100 |
---|---|---|
committer | Matthieu Castet <mat@mat-pc.(none)> | 2007-01-13 23:19:41 +0100 |
commit | f04347f371c6c9c3a47550c6b7d26b7bd5629c85 (patch) | |
tree | 29f7425600add81fbffceecb1d6787b7f224cd65 /shared-core/nouveau_state.c | |
parent | cd5f543b2f3d6dd4c45f676c6fb9848b4d8a1c33 (diff) |
nouveau: nv20 graph ctx switch.
Untested...
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r-- | shared-core/nouveau_state.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index 6448512c..f324c5ff 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -96,7 +96,11 @@ 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_10) + else if (dev_priv->card_type >= NV_30) { + } + else if (dev_priv->card_type >= NV_20) + nv20_graph_init(dev); + else if (dev_priv->card_type >= NV_10) nv10_graph_init(dev); return 0; |