commit | 4ca04f31122cacce249e98ed8985964bcb0d91e9 | [log] [tgz] |
---|---|---|
author | Bruno Jiménez <brunojimen@gmail.com> | Mon Jul 07 17:50:05 2014 +0200 |
committer | Tom Stellard <thomas.stellard@amd.com> | Fri Jul 25 17:51:57 2014 -0400 |
tree | 21233feb0fe124b1924bc01ccce88088837ced7d | |
parent | 5eb11eb1921020afc1fb099ecb275f91d9fc791d [diff] |
r600g/compute: Try to use a temporary resource when growing the pool Now, before moving everything to host memory, we try to create a new resource to use as a pool. I we succeed we just use this resource and delete the previous one. If we fail we fallback to using the shadow. This should make growing the pool faster, and we can also save 64KB of memory that were allocated for the 'shadow', even if they weren't used. Reviewed-by: Tom Stellard <thomas.stellard@amd.com>