Re: [Mesa-dev] [PATCH] radeonsi: use unsynchronized transfers for shader binary uploads

2017-04-26 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Apr 26, 2017 at 12:36 AM, Samuel Pitoiset wrote: > Because the buffer is new, it can't be referenced by any CS. > > This can save few CPU cycles by skipping the whole > PIPE_TRANSFER_UNSYNCHRONIZED if in

Re: [Mesa-dev] [PATCH] radeonsi: use unsynchronized transfers for shader binary uploads

2017-04-26 Thread Nicolai Hähnle
On 26.04.2017 00:36, Samuel Pitoiset wrote: Because the buffer is new, it can't be referenced by any CS. This can save few CPU cycles by skipping the whole PIPE_TRANSFER_UNSYNCHRONIZED if in amdgpu_bo_map(). Signed-off-by: Samuel Pitoiset Reviewed-by: Nicolai

[Mesa-dev] [PATCH] radeonsi: use unsynchronized transfers for shader binary uploads

2017-04-25 Thread Samuel Pitoiset
Because the buffer is new, it can't be referenced by any CS. This can save few CPU cycles by skipping the whole PIPE_TRANSFER_UNSYNCHRONIZED if in amdgpu_bo_map(). Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_shader.c | 3 ++- 1 file changed, 2