summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drv.h
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2007-09-30 14:50:22 +0200
committerMatthieu Castet <castet.matthieu@free.fr>2007-09-30 14:50:22 +0200
commitfb3ed99fb110a540d16923417c33ff581721ba3a (patch)
treeb240ece534ddf2b3bef57da2e9e67794eb340047 /shared-core/nouveau_drv.h
parentc76e04828bd5849f526fae5af7deaf1cbc9f4c55 (diff)
nouveau : pgraph_ctx dynamic alloc for nv04, nv10
Diffstat (limited to 'shared-core/nouveau_drv.h')
-rw-r--r--shared-core/nouveau_drv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index e96c8fad..02a4ee75 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -120,8 +120,9 @@ struct nouveau_channel
struct nouveau_gpuobj_ref *ramfc;
/* PGRAPH context */
+ /* XXX may be merge 2 pointers as private data ??? */
struct nouveau_gpuobj_ref *ramin_grctx;
- uint32_t pgraph_ctx [340]; /* XXX dynamic alloc ? */
+ void *pgraph_ctx;
/* NV50 VM */
struct nouveau_gpuobj *vm_pd;