aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer2018-02-08 02:50:53 -0600
committerMichel Dänzer2018-02-08 02:50:53 -0600
commitfa35b51f6366bd44185177f0a66e02191905d774 (patch)
tree5cc6562e9d4061120d0a77297d81ec062f84ced0 /amdgpu/amdgpu_internal.h
parent09642c073e8af71127cf98b48fe1b2a376c606cf (diff)
downloadexternal-libgbm-fa35b51f6366bd44185177f0a66e02191905d774.tar.gz
external-libgbm-fa35b51f6366bd44185177f0a66e02191905d774.tar.xz
external-libgbm-fa35b51f6366bd44185177f0a66e02191905d774.zip
Revert "amdgpu: clean up non list code path for vamgr"
This reverts commit 41b94a3fb6e87d057fad78568d920d29489e5060. It caused crashes with radeonsi in at least glxgears and Xorg.
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index 75276a99..3e044f11 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -53,6 +53,8 @@ struct amdgpu_bo_va_hole {
53}; 53};
54 54
55struct amdgpu_bo_va_mgr { 55struct amdgpu_bo_va_mgr {
56 /* the start virtual address */
57 uint64_t va_offset;
56 uint64_t va_max; 58 uint64_t va_max;
57 struct list_head va_holes; 59 struct list_head va_holes;
58 pthread_mutex_t bo_va_mutex; 60 pthread_mutex_t bo_va_mutex;