diff options
author | Ben Skeggs <[email protected]> | 2011-03-01 10:31:54 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2011-03-01 14:44:42 +1000 |
commit | d6bdf1f6ae6f8d06db740ad75e9151ef275755b2 (patch) | |
tree | 034c18715f1b89e4f6fffd9b22659ba98609f4e6 /src/gallium/drivers/nv50 | |
parent | 2f30a5bdaad480118e23ac4243de3b4a11ba62a8 (diff) |
nouveau: fix compiler complaint
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_buffer.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nv50/nv50_query.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_buffer.c b/src/gallium/drivers/nv50/nv50_buffer.c index f808adb0f62..7b2b47a1e05 100644 --- a/src/gallium/drivers/nv50/nv50_buffer.c +++ b/src/gallium/drivers/nv50/nv50_buffer.c @@ -52,7 +52,7 @@ nv50_buffer_allocate(struct nv50_screen *screen, struct nv50_resource *buf, static INLINE void release_allocation(struct nouveau_mm_allocation **mm, struct nouveau_fence *fence) { - nouveau_fence_work(fence, nouveau_mm_free, *mm); + nouveau_fence_work(fence, nouveau_mm_free_work, *mm); (*mm) = NULL; } diff --git a/src/gallium/drivers/nv50/nv50_query.c b/src/gallium/drivers/nv50/nv50_query.c index 8a2bca6850a..2803626d18c 100644 --- a/src/gallium/drivers/nv50/nv50_query.c +++ b/src/gallium/drivers/nv50/nv50_query.c @@ -64,7 +64,7 @@ nv50_query_allocate(struct nv50_context *nv50, struct nv50_query *q, int size) if (q->ready) nouveau_mm_free(q->mm); else - nouveau_fence_work(screen->base.fence.current, nouveau_mm_free, q->mm); + nouveau_fence_work(screen->base.fence.current, nouveau_mm_free_work, q->mm); } } if (size) { |