aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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 19bc7e18..c91452ef 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -94,6 +94,7 @@ struct amdgpu_bo {
94 * sequence_mutex -> pendings_mutex -> pool_mutex. 94 * sequence_mutex -> pendings_mutex -> pool_mutex.
95*/ 95*/
96struct amdgpu_context { 96struct amdgpu_context {
97 struct amdgpu_device *dev;
97 /** Mutex for accessing fences and to maintain command submissions 98 /** Mutex for accessing fences and to maintain command submissions
98 and pending lists in good sequence. */ 99 and pending lists in good sequence. */
99 pthread_mutex_t sequence_mutex; 100 pthread_mutex_t sequence_mutex;
@@ -116,6 +117,7 @@ struct amdgpu_context {
116}; 117};
117 118
118struct amdgpu_ib { 119struct amdgpu_ib {
120 amdgpu_context_handle context;
119 struct list_head list_node; 121 struct list_head list_node;
120 amdgpu_bo_handle buf_handle; 122 amdgpu_bo_handle buf_handle;
121 void *cpu; 123 void *cpu;