summaryrefslogtreecommitdiff
path: root/shared-core/nv20_graph.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2007-09-29 23:06:29 +0300
committerPekka Paalanen <pq@iki.fi>2007-09-30 22:16:01 +0300
commitdc592c8b7bc12d16c658648f124792ac4d2882b9 (patch)
tree632172757a9f9154fe15e7898062ea4cfeab82e1 /shared-core/nv20_graph.c
parent88bdb38cea60cea918b6e6a1ca97a7ec3de5b832 (diff)
nouveau: Make nv20 use the nv30 PGRAPH ctx functions.
Diffstat (limited to 'shared-core/nv20_graph.c')
-rw-r--r--shared-core/nv20_graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nv20_graph.c b/shared-core/nv20_graph.c
index c163daf9..252d90b5 100644
--- a/shared-core/nv20_graph.c
+++ b/shared-core/nv20_graph.c
@@ -29,6 +29,7 @@
#define NV20_GRCTX_SIZE (3529*4)
+#if 0
int nv20_graph_create_context(struct nouveau_channel *chan) {
struct drm_device *dev = chan->dev;
struct drm_nouveau_private *dev_priv = dev->dev_private;
@@ -56,6 +57,7 @@ void nv20_graph_destroy_context(struct nouveau_channel *chan) {
INSTANCE_WR(dev_priv->ctx_table->gpuobj, chan->id, 0);
}
+#endif /* 0 */
static void nv20_graph_rdi(struct drm_device *dev) {
struct drm_nouveau_private *dev_priv = dev->dev_private;