summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_state.c
diff options
context:
space:
mode:
authorMatthieu Castet <mat@mat-pc.(none)>2007-01-13 21:43:47 +0100
committerMatthieu Castet <mat@mat-pc.(none)>2007-01-13 21:44:50 +0100
commitcd5f543b2f3d6dd4c45f676c6fb9848b4d8a1c33 (patch)
tree632e955ea970d08a71ccd303bf953cfe5a76bc57 /shared-core/nouveau_state.c
parent4ae64a1b583be3ef13338e8029e7e9efe21f2c2f (diff)
nouveau: first step to make graph ctx works
It is still not working, but now we could use some 3D commands without needed to run nvidia blob before.
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r--shared-core/nouveau_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index 1e0587f6..6448512c 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -96,6 +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_10)
+ nv10_graph_init(dev);
return 0;
}