summaryrefslogtreecommitdiff
path: root/shared-core/nv30_graph.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-02-03 04:57:06 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-02-03 04:57:06 +0100
commit5a072f32c8f941d1ef301811881e8c89c8d8a5f1 (patch)
treeff2b5ecf6a82f61b65ead94c00f8d04c1861fea2 /shared-core/nv30_graph.c
parente64dbef911cd739ba5c4d26493dfef6766ff83fd (diff)
nouveau: rename registers to their proper names.
Diffstat (limited to 'shared-core/nv30_graph.c')
-rw-r--r--shared-core/nv30_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nv30_graph.c b/shared-core/nv30_graph.c
index 143fe965..cb183bea 100644
--- a/shared-core/nv30_graph.c
+++ b/shared-core/nv30_graph.c
@@ -147,7 +147,7 @@ int nv30_graph_init(drm_device_t *dev)
for (i=0; i< dev_priv->ctx_table_size; i+=4)
INSTANCE_WR(dev_priv->ctx_table, i/4, 0x00000000);
- NV_WRITE(NV_PGRAPH_CHANNEL_CTX_TABLE, nouveau_chip_instance_get(dev, dev_priv->ctx_table));
+ NV_WRITE(NV10_PGRAPH_CHANNEL_CTX_TABLE, nouveau_chip_instance_get(dev, dev_priv->ctx_table));
return 0;
}