aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunming Zhou2018-02-08 00:52:11 -0600
committerChunming Zhou2018-02-09 03:28:32 -0600
commit69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1 (patch)
tree66de2ddb37e7355c23f96dacdf1961844f2ee263 /amdgpu/amdgpu_internal.h
parentfa35b51f6366bd44185177f0a66e02191905d774 (diff)
downloadexternal-libdrm-69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1.tar.gz
external-libdrm-69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1.tar.xz
external-libdrm-69f9faeee6c10d07a9f9f35e175a75f6e7eeecd1.zip
amdgpu: clean up non list code path for vamgr v2
v2: Add missing "goto out" Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index 3e044f11..75276a99 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -53,8 +53,6 @@ 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;
58 uint64_t va_max; 56 uint64_t va_max;
59 struct list_head va_holes; 57 struct list_head va_holes;
60 pthread_mutex_t bo_va_mutex; 58 pthread_mutex_t bo_va_mutex;