This way we can avoid defragmenting the pool, even if it is needed to defragment it, and looping again through the list of unallocated items.
e7bda84 r600g/compute: Quick exit if there's nothing to add to the pool
src/gallium/drivers/r600/compute_memory_pool.c | 4 ++++
1 file changed, 4 insertions(+)
Upstream: cgit.freedesktop.org