aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-08-07 10:54:29 -0500
committerEmil Velikov2015-08-13 11:43:33 -0500
commitb47181897770520bb5afcebc2c2c3ffaf7729a36 (patch)
treeffb3ae70930afc5e3cc920f2edc219758005ffe8 /amdgpu/amdgpu_internal.h
parentc19fa2b1ca8baec6ac8bb8aed6c0693c87e1a6de (diff)
downloadexternal-libdrm-b47181897770520bb5afcebc2c2c3ffaf7729a36.tar.gz
external-libdrm-b47181897770520bb5afcebc2c2c3ffaf7729a36.tar.xz
external-libdrm-b47181897770520bb5afcebc2c2c3ffaf7729a36.zip
amdgpu/amdgpu_vamgr: hide private symbols from global namespace
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index ab01bb52..7f86da93 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -31,6 +31,8 @@
31 31
32#include <assert.h> 32#include <assert.h>
33#include <pthread.h> 33#include <pthread.h>
34
35#include "libdrm_macros.h"
34#include "xf86atomic.h" 36#include "xf86atomic.h"
35#include "amdgpu.h" 37#include "amdgpu.h"
36#include "util_double_list.h" 38#include "util_double_list.h"
@@ -121,15 +123,19 @@ void amdgpu_device_free_internal(amdgpu_device_handle dev);
121 123
122void amdgpu_bo_free_internal(amdgpu_bo_handle bo); 124void amdgpu_bo_free_internal(amdgpu_bo_handle bo);
123 125
124struct amdgpu_bo_va_mgr* amdgpu_vamgr_get_global(struct amdgpu_device *dev); 126drm_private struct amdgpu_bo_va_mgr*
127amdgpu_vamgr_get_global(struct amdgpu_device *dev);
125 128
126void amdgpu_vamgr_reference(struct amdgpu_bo_va_mgr **dst, struct amdgpu_bo_va_mgr *src); 129drm_private void
130amdgpu_vamgr_reference(struct amdgpu_bo_va_mgr **dst,
131 struct amdgpu_bo_va_mgr *src);
127 132
128uint64_t amdgpu_vamgr_find_va(struct amdgpu_bo_va_mgr *mgr, uint64_t size, 133drm_private uint64_t
129 uint64_t alignment, uint64_t base_required); 134amdgpu_vamgr_find_va(struct amdgpu_bo_va_mgr *mgr, uint64_t size,
135 uint64_t alignment, uint64_t base_required);
130 136
131void amdgpu_vamgr_free_va(struct amdgpu_bo_va_mgr *mgr, uint64_t va, 137drm_private void
132 uint64_t size); 138amdgpu_vamgr_free_va(struct amdgpu_bo_va_mgr *mgr, uint64_t va, uint64_t size);
133 139
134int amdgpu_query_gpu_info_init(amdgpu_device_handle dev); 140int amdgpu_query_gpu_info_init(amdgpu_device_handle dev);
135 141