diff options
author | Samuel Pitoiset <[email protected]> | 2018-09-26 11:21:06 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-09-28 09:08:52 +0200 |
commit | 3fb4adae83f921bbf529fad8753c7e23b969a41d (patch) | |
tree | 26d6b92f54ca98d734ecb91a46bdb1673390441a /bin/meson.build | |
parent | 621e70dd4004f009108337ca0a6c2b990cc4415f (diff) |
radv: do not sync CP DMA when copying buffers
We already track if the DMA engine is busy/idle with a flag,
and we emit a packet that waits for all CP DMA operations
to be complete. This is done at end of command buffer because
the kernel doesn't wait for them, and also when emitting
barriers, so it should be safe.
This improves small copies for both aligned and unaligned sizes.
Aligned sizes:
BEFORE:
1 KB: 59.840000 ms
2 KB: 71.200000 ms
AFTER:
1 KB: 31.200000 ms
2 KB: 31.040000 ms
Unaligned sizes:
BEFORE:
2 KB: 68.3200 ms
3 KB: 79.3600 ms
5 KB: 76.6400 ms
9 KB: 90.8800 ms
17 KB: 116.0000 ms
AFTER:
2 KB: 31.0400 ms
3 KB: 32.0000 ms
5 KB: 30.8800 ms
9 KB: 30.5600 ms
17 KB: 29.6000 ms
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'bin/meson.build')
0 files changed, 0 insertions, 0 deletions