iris: increase allocator alignment
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Apr 2018 07:20:32 +0000 (00:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_bufmgr.c

index a81a2561fe2169e2ae4be57246dc2cf0ae68030c..cd31227a10f2a35fded360d4c2658c0f99197b32 100644 (file)
@@ -261,8 +261,9 @@ bucket_vma_alloc(struct iris_bufmgr *bufmgr,
        * Set the first bit used, and return the start address.
        */
       node = util_dynarray_grow(vma_list, sizeof(struct vma_bucket_node));
-      node->start_address =
-         vma_alloc(bufmgr, memzone, 64ull * bucket->size, bucket->size);
+      node->start_address = vma_alloc(bufmgr, memzone,
+                                      64ull * bucket->size,
+                                      64ull * bucket->size);
       node->bitmap = ~1ull;
       return node->start_address;
    }