Re: [Mesa-dev] [PATCH 14/14] gallium/radeon/winsyses: reduce the number of pb_cache buckets

2016-09-22 Thread Marek Olšák
For 9-14: Reviewed-by: Marek Olšák Marek On Tue, Sep 13, 2016 at 11:56 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Small buffers are now handled via the slabs code, so separate buckets in > pb_cache have become

[Mesa-dev] [PATCH] anv: device: never allocate more memory than heap_size

2016-09-22 Thread Nicolas Koch
Previously, the heap size of a physical device was kind of useless because it was not enforced. Now, we keep track of allocation sizes so that the sum of all allocations can never exceed the heap size advertised by anv_GetPhysicalDeviceMemoryProperties. --- src/intel/vulkan/anv_device.c | 42

<    1   2