commit | 682248db451fa164d964863339ca873a1f85aec9 | [log] [tgz] |
---|---|---|
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Sun Mar 05 22:25:20 2017 +0100 |
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Mon Mar 06 00:07:51 2017 +0100 |
tree | 295872f36a6c21cac93fcbe95a4cbbe9ec26b091 | |
parent | e3a01a5d1b019e7b00218ba526874f4c77ea8bee [diff] |
radv: Cache command buffers in command pool. So that we don't keep allocating BOs for the IBs and upload buffers. We run some risk of memory increase with e.g. a bimodal size distribution of command buffers, but I haven't noticed a significant increase with dota2 and talos. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>