This has never been used.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14287>
bo->bo = buf_handle;
bo->base.initial_domain = initial_domain;
bo->base.use_global_list = bo->base.is_local;
- bo->is_shared = false;
bo->priority = priority;
r = amdgpu_bo_export(buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
bo->base.initial_domain = initial;
bo->base.use_global_list = false;
bo->size = result.alloc_size;
- bo->is_shared = true;
bo->priority = priority;
r = amdgpu_bo_export(result.buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle);
return false;
*fd = (int)handle;
- bo->is_shared = true;
return true;
}
/* physical bo */
struct {
amdgpu_bo_handle bo;
- bool is_shared;
uint32_t bo_handle;
};
/* virtual bo */