aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <[email protected]>2017-11-02 10:50:39 -0400
committerMarek Olšák <[email protected]>2017-11-03 18:06:17 +0100
commit19fc3cdcfbd193fdbaa3fab8bbcbc5a66ef0084d (patch)
treed66acece0f6926b158284414cc19d59225a8a352 /src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
parent24ec29b919f77116bb61f07bff09cbc14683d23d (diff)
winsys/amdgpu: Add R600_DEBUG flag to reserve VMID per ctx.
Fixes reverted patch f03b7c9 by doing VMID reservation per process and not per context. Also updates required amdgpu libdrm version since the change involved interface updates in amdgpu libdrm. Signed-off-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
index 7a9b02db901..59a5ecaeccb 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
@@ -77,6 +77,7 @@ struct amdgpu_winsys {
bool check_vm;
bool debug_all_bos;
+ bool reserve_vmid;
/* List of all allocated buffers */
mtx_t global_bo_list_lock;