radv: introduce some wrapper in cs code to make porting off libdrm_amdgpu easier.
authorDave Airlie <airlied@redhat.com>
Wed, 19 Jul 2017 02:56:04 +0000 (03:56 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Jul 2017 00:55:36 +0000 (01:55 +0100)
commitaee382510edafe6dda4e1890b5f0c1458fc0f6ff
treea1a73c8854dadacccb02c3915c478eeb463dd1fa
parent1cb5a6061ce4b7f0cf5a9e5938bc1a11fe24b9ca
radv: introduce some wrapper in cs code to make porting off libdrm_amdgpu easier.

This just introduces a central semaphore info struct, and passes it around,
and introduces some wrappers that will make porting off libdrm_amdgpu easier.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c