mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
- Add nvmap_dev.h file which include declaration for functions and data structs which are exposed by nvmap_dev unit to other units. - Also, add nvmap_dev_int.h file which include declaration for functions which are internal to nvmap_dev unit that can be called by files within nvmap_dev unit. - Move definition of nvmap_handle_get_from_id, nvmap_install_fd, find_range_of_handles to nvmap_handle.c as they belong to nvmap_handle unit. - Cleanup nvmap_priv.h by moving all relevant items for nvmap_dev unit to nvmap_dev unit. - Remove nvmap_mm.c file as nvmap_zap_handle is the only function present; move it to nvmap_cache.c where it's being called. - Remove function declarations whose definition are not present. JIRA TMM-5694 JIRA TMM-5730 Change-Id: Ifd45235076da2ef0c628f3179d828c0ccadf6df2 Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3223994 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
21 lines
548 B
C
21 lines
548 B
C
/* SPDX-License-Identifier: GPL-2.0-only
|
|
* SPDX-FileCopyrightText: Copyright (c) 2009-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*
|
|
* structure declarations for nvmem and nvmap user-space ioctls
|
|
*/
|
|
|
|
#ifndef _LINUX_NVMAP_H
|
|
#define _LINUX_NVMAP_H
|
|
|
|
#include <linux/rbtree.h>
|
|
#include <linux/file.h>
|
|
#include <linux/dma-buf.h>
|
|
#include <linux/device.h>
|
|
#include <linux/version.h>
|
|
#include <uapi/linux/nvmap.h>
|
|
|
|
int nvmap_register_vidmem_carveout(struct device *dma_dev,
|
|
phys_addr_t base, size_t size);
|
|
|
|
#endif /* _LINUX_NVMAP_H */
|