aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wang2015-07-10 09:22:27 -0500
committerAlex Deucher2015-08-05 12:47:52 -0500
commit926c80568691e04abdfcd21b6e9be61331e95b03 (patch)
treebc358b99874cfc930c8e3853b9d3db3f7b4ecee9 /amdgpu/amdgpu_internal.h
parent01e4546ff34a57faaefd41fce323c691902501c5 (diff)
downloadexternal-libgbm-926c80568691e04abdfcd21b6e9be61331e95b03.tar.gz
external-libgbm-926c80568691e04abdfcd21b6e9be61331e95b03.tar.xz
external-libgbm-926c80568691e04abdfcd21b6e9be61331e95b03.zip
amdgpu : move management of user fence from libdrm to UMD
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Christian K├Ânig <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index e35923ff..bf7788dd 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -109,11 +109,6 @@ struct amdgpu_context {
109 /** Mutex for accessing fences and to maintain command submissions 109 /** Mutex for accessing fences and to maintain command submissions
110 in good sequence. */ 110 in good sequence. */
111 pthread_mutex_t sequence_mutex; 111 pthread_mutex_t sequence_mutex;
112 /** Buffer for user fences */
113 struct amdgpu_bo *fence_bo;
114 void *fence_cpu;
115 /** The newest expired fence for the ring of the ip blocks. */
116 uint64_t expired_fences[AMDGPU_HW_IP_NUM][AMDGPU_HW_IP_INSTANCE_MAX_COUNT][AMDGPU_CS_MAX_RINGS];
117 /* context id*/ 112 /* context id*/
118 uint32_t id; 113 uint32_t id;
119}; 114};