diff options
author | Marek Olšák <[email protected]> | 2017-12-05 20:04:11 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-12-06 15:19:02 +0100 |
commit | 7a6643fb4cace23c8aef260fed7f28685d236fd0 (patch) | |
tree | af1eb7d83a4305e7fa5a150e22e26e99e0328e37 /src/gallium/drivers/radeonsi | |
parent | 3e1287caefed01a5f6218e2911ec8409c63ad397 (diff) |
radeonsi: use a separate allocator for fine fences
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_fence.c b/src/gallium/drivers/radeonsi/si_fence.c index 0d165a14b54..3c4d75462af 100644 --- a/src/gallium/drivers/radeonsi/si_fence.c +++ b/src/gallium/drivers/radeonsi/si_fence.c @@ -151,7 +151,7 @@ static void si_fine_fence_set(struct si_context *ctx, assert(util_bitcount(flags & (PIPE_FLUSH_TOP_OF_PIPE | PIPE_FLUSH_BOTTOM_OF_PIPE)) == 1); /* Use uncached system memory for the fence. */ - u_upload_alloc(ctx->b.b.stream_uploader, 0, 4, 4, + u_upload_alloc(ctx->b.cached_gtt_allocator, 0, 4, 4, &fine->offset, (struct pipe_resource **)&fine->buf, (void **)&fence_ptr); if (!fine->buf) return; |