aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-05-03 02:21:39 +0200
committerBas Nieuwenhuizen <[email protected]>2017-05-03 03:10:12 +0200
commiteeff7e11544f333d211c8f8ad3679db814050cfa (patch)
treea5bceb870d5c1f3d192622b5f2e3afc2de8f1d08 /src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
parent2a2a21450bb8f552477c468ef91a59e40f881dae (diff)
radv: Add userspace fence buffer per context.
Having it in the winsys didn't work when multiple devices use the same winsys, as we then have multiple contexts per queue, and each context counts separately. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Fixes: 7b9963a28f4 "radv: Enable userspace fence checking."
Diffstat (limited to 'src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h')
-rw-r--r--src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
index c136da0c1ec..abb238b358d 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
@@ -50,9 +50,6 @@ struct radv_amdgpu_winsys {
unsigned num_buffers;
bool use_ib_bos;
-
- struct radeon_winsys_bo *fence_bo;
- uint64_t *fence_map;
};
static inline struct radv_amdgpu_winsys *