radv: Enable userspace fence checking.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 25 Apr 2017 22:04:46 +0000 (00:04 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 25 Apr 2017 23:32:41 +0000 (01:32 +0200)
commit7b9963a28f432920428f7fac5f6dba7b2996cd16
treeba9c3240da7641b89e2cf77e225de8dc16527779
parentee5f96581ad694cc61cf83bc7022bd71c36bfe08
radv: Enable userspace fence checking.

v2: - Added some error handling.
    - memset the buffer to 0.

v3: Added assert for buffer size.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h