summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_query.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2011-03-01 10:49:36 +1000
committerBen Skeggs <[email protected]>2011-03-01 14:44:43 +1000
commitcd24fcedecfc41d77047fb827a88db528ed292ca (patch)
tree8607ff46820092ac871a5bb18cf2da056b588c67 /src/gallium/drivers/nv50/nv50_query.c
parent3a38a4b0a8caae9be9a66f10e12ad41a1806037f (diff)
nouveau: create linear gart/vram mman in common screen init
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_query.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_query.c b/src/gallium/drivers/nv50/nv50_query.c
index 2803626d18c..2e65c54e548 100644
--- a/src/gallium/drivers/nv50/nv50_query.c
+++ b/src/gallium/drivers/nv50/nv50_query.c
@@ -68,7 +68,7 @@ nv50_query_allocate(struct nv50_context *nv50, struct nv50_query *q, int size)
}
}
if (size) {
- q->mm = nouveau_mm_allocate(screen->mm_GART, size, &q->bo, &q->base);
+ q->mm = nouveau_mm_allocate(screen->base.mm_GART, size, &q->bo, &q->base);
if (!q->bo)
return FALSE;
q->offset = q->base;