Re: [Mesa-dev] [PATCH] radv: do not sync CP DMA when copying buffers

2018-09-26 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, Sep 26, 2018 at 11:19 AM Samuel Pitoiset wrote: > > 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

[Mesa-dev] [PATCH] radv: do not sync CP DMA when copying buffers

2018-09-26 Thread Samuel Pitoiset
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 f