summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-10-11 13:44:02 +1000
committerEmil Velikov <emil.l.velikov@gmail.com>2018-11-30 16:51:41 +0000
commitfe460ee8cdb0afb41f2e36afa318576a5d4f03fd (patch)
treea7719494bdf715c7b50201464e6eca5618145a87
parentb28aa1178a1e336bf6f73bb777a0aebce8e3c3c7 (diff)
r600: make suballocator 256-bytes align
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108311 Cc: <mesa-stable@lists.freedesktop.org> (cherry picked from commit 2ddd44d941648d49dc0d917e03a579baec3590d9)
-rw-r--r--src/gallium/drivers/r600/r600_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_query.c b/src/gallium/drivers/r600/r600_query.c
index ccabab9cdb0..92f243b5c9a 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;