radv/winsys: pass the buffer list via the CS ioctl for less CPU overhead
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jul 2020 09:16:45 +0000 (11:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Jul 2020 07:46:33 +0000 (09:46 +0200)
commit485ea7d711fc2bbbdd83e2670121cb16ae42f7f7
tree7efd419835e3de736360286d2622db1062c93bfa
parent40bea60dcf9d29f8c6d73ff5418f431ed7fcc318
radv/winsys: pass the buffer list via the CS ioctl for less CPU overhead

The legacy path requires one more ioctl to create the buffer
list and this is more costly for the CPU.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5899>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c