commit | 7395432f2e792f8719b03bb39b0cf5cba8ba583b | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Mon Jul 28 09:28:05 2014 +0800 |
committer | Chia-I Wu <olvaffe@gmail.com> | Mon Jul 28 22:57:22 2014 +0800 |
tree | 4a6a726b1aad0db6f8e48463cf13db5c5f6985e8 | |
parent | 0a0e57b0705925d2350b79a32d007d29980499d6 [diff] |
ilo: try unblocking a transfer with a staging bo When mapping a busy resource with PIPE_TRANSFER_DISCARD_RANGE or PIPE_TRANSFER_FLUSH_EXPLICIT, we can avoid blocking by allocating and mapping a staging bo, and emit pipelined copies at proper places. Since the staging bo is never bound to GPU, we give it packed layout to save space.