diff options
author | Nicolai Hähnle <[email protected]> | 2016-09-27 19:12:24 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-10-05 15:42:22 +0200 |
commit | 8a943564fd7ebacd2437bb907535b7765ff448e4 (patch) | |
tree | 1b44f125781f42057ca4cef1c27fbe7074c851b4 /src/gallium/drivers/virgl/virgl_buffer.c | |
parent | 2a83036fe29262c8761812c65d6e81c7198da54e (diff) |
virgl: use the new parent/child pools for transfers
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_buffer.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/virgl/virgl_buffer.c b/src/gallium/drivers/virgl/virgl_buffer.c index de997962845..2e63aebc72c 100644 --- a/src/gallium/drivers/virgl/virgl_buffer.c +++ b/src/gallium/drivers/virgl/virgl_buffer.c @@ -62,7 +62,7 @@ static void *virgl_buffer_transfer_map(struct pipe_context *ctx, if (doflushwait) ctx->flush(ctx, NULL, 0); - trans = slab_alloc_st(&vctx->texture_transfer_pool); + trans = slab_alloc(&vctx->texture_transfer_pool); if (!trans) return NULL; @@ -114,7 +114,7 @@ static void virgl_buffer_transfer_unmap(struct pipe_context *ctx, } } - slab_free_st(&vctx->texture_transfer_pool, trans); + slab_free(&vctx->texture_transfer_pool, trans); } static void virgl_buffer_transfer_flush_region(struct pipe_context *ctx, |