Mesa (master): r600: make suballocator 256-bytes align
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 28 23:09:55 UTC 2018
Module: Mesa
Branch: master
Commit: 2ddd44d941648d49dc0d917e03a579baec3590d9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ddd44d941648d49dc0d917e03a579baec3590d9
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Oct 11 13:44:02 2018 +1000
r600: make suballocator 256-bytes align
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108311
Cc: <mesa-stable at lists.freedesktop.org>
---
src/gallium/drivers/r600/r600_query.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_query.c b/src/gallium/drivers/r600/r600_query.c
index ccabab9cdb..92f243b5c9 100644
--- a/src/gallium/drivers/r600/r600_query.c
+++ b/src/gallium/drivers/r600/r600_query.c
@@ -1636,7 +1636,7 @@ static void r600_query_hw_get_result_resource(struct r600_common_context *rctx,
}
if (query->buffer.previous) {
- u_suballocator_alloc(rctx->allocator_zeroed_memory, 16, 16,
+ u_suballocator_alloc(rctx->allocator_zeroed_memory, 16, 256,
&tmp_buffer_offset, &tmp_buffer);
if (!tmp_buffer)
return;
More information about the mesa-commit
mailing list