mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
Use SPDX license GPL-V2.0 format and change Nvidia copyright year to include 2023. Bug 4078035 Change-Id: I4db6577ddb806690f6ec04f5eaf1364578102d14 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890635 Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
28 lines
802 B
C
28 lines
802 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* mapping between nvmap_hnadle and sci_ipc entery
|
|
*/
|
|
#ifndef __VIDEO_TEGRA_NVMAP_SCI_IPC_H
|
|
#define __VIDEO_TEGRA_NVMAP_SCI_IPC_H
|
|
|
|
int nvmap_validate_sci_ipc_params(struct nvmap_client *client,
|
|
NvSciIpcEndpointAuthToken auth_token,
|
|
NvSciIpcEndpointVuid *pr_vuid,
|
|
NvSciIpcEndpointVuid *localusr_vuid);
|
|
|
|
int nvmap_create_sci_ipc_id(struct nvmap_client *client,
|
|
struct nvmap_handle *h,
|
|
u32 flags,
|
|
u64 *sci_ipc_id,
|
|
NvSciIpcEndpointVuid pr_vuid,
|
|
bool is_ro);
|
|
|
|
int nvmap_get_handle_from_sci_ipc_id(struct nvmap_client *client,
|
|
u32 flags,
|
|
u64 sci_ipc_id,
|
|
NvSciIpcEndpointVuid localusr_vuid,
|
|
u32 *h);
|
|
#endif /* __VIDEO_TEGRA_NVMAP_SCI_IPC_H */
|