summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-01-19 20:32:28 +0100
committerMarek Olšák <[email protected]>2017-01-23 23:43:38 +0100
commit18408008609df9007dc40512f00c5700167c5887 (patch)
tree6e12d60bea16f3219b5c377105a85071bf1784f2 /src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
parentdcfcb3047c96e7ab0bc6dbb133fa69e9225c1400 (diff)
winsys/amdgpu: report a rejected IB as a lost context
Reviewed-by: Nicolai Hähnle <[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 2a7900a68d9..c56c342a53a 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h
@@ -55,6 +55,7 @@ struct amdgpu_winsys {
pipe_mutex bo_fence_lock;
int num_cs; /* The number of command streams created. */
+ unsigned num_total_rejected_cs;
uint32_t next_bo_unique_id;
uint64_t allocated_vram;
uint64_t allocated_gtt;