Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
amdgpu_bo_cpu_unmap
amdgpu_bo_export
amdgpu_bo_free
amdgpu_bo_cpu_unmap
amdgpu_bo_export
amdgpu_bo_free
amdgpu_bo_list_create
amdgpu_bo_list_destroy
amdgpu_bo_list_update
amdgpu_bo_list_create
amdgpu_bo_list_destroy
amdgpu_bo_list_update
*
* \param bo - \c [in] Buffer object handle to increase the reference count
*
*
* \param bo - \c [in] Buffer object handle to increase the reference count
*
- * \return 0 on success\n
- * <0 - Negative POSIX Error code
- *
* \sa amdgpu_bo_alloc(), amdgpu_bo_free()
*
*/
* \sa amdgpu_bo_alloc(), amdgpu_bo_free()
*
*/
-int amdgpu_bo_inc_ref(amdgpu_bo_handle bo);
+void amdgpu_bo_inc_ref(amdgpu_bo_handle bo);
/**
* Request CPU access to GPU accessable memory
/**
* Request CPU access to GPU accessable memory
-int amdgpu_bo_inc_ref(amdgpu_bo_handle bo)
+void amdgpu_bo_inc_ref(amdgpu_bo_handle bo)
{
atomic_inc(&bo->refcount);
{
atomic_inc(&bo->refcount);
}
int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu)
}
int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu)