From: Kenneth Graunke Date: Tue, 10 Apr 2018 07:20:32 +0000 (-0700) Subject: iris: increase allocator alignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=010e845af7bc4f0557122e34a3cdb7fe46a4b716;p=mesa.git iris: increase allocator alignment --- diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index a81a2561fe2..cd31227a10f 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -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; }