r600: make suballocator 256-bytes align
authorDave Airlie <airlied@redhat.com>
Thu, 11 Oct 2018 03:44:02 +0000 (13:44 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Nov 2018 23:09:02 +0000 (09:09 +1000)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108311
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r600/r600_query.c

index ccabab9cdb0d2684e71f8d739665b69821b4feb4..92f243b5c9a7a5a80e4897ce6f52dc981679b839 100644 (file)
@@ -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;