mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
video: tegra: nvmap: Deprecate nvmap_ioctl_get_heap_size
Remove function nvmap_ioctl_get_heap_size from nvmap, as the ioctl NVMAP_IOC_GET_HEAP_SIZE is being deprecated and its functionality is being replaced with NVMAP_IOC_QUERY_HEAP_PARAMS. Bug 4479027 Change-Id: I8a60810ff8b474f32413c9afe2ba3a0d7336a4d0 Signed-off-by: Yash Bhatt <ybhatt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3110262 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c934b1b477
commit
6200c05e7d
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2009-2024, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* structure declarations for nvmem and nvmap user-space ioctls
|
||||
*/
|
||||
@@ -204,11 +204,6 @@ struct nvmap_available_heaps {
|
||||
__u64 heaps; /* heaps bitmask */
|
||||
};
|
||||
|
||||
struct nvmap_heap_size {
|
||||
__u32 heap;
|
||||
__u64 size;
|
||||
};
|
||||
|
||||
struct nvmap_sciipc_map {
|
||||
__u64 auth_token; /* AuthToken */
|
||||
__u32 flags; /* Exporter permission flags */
|
||||
@@ -337,9 +332,6 @@ struct nvmap_fd_for_range_from_list {
|
||||
#define NVMAP_IOC_GET_AVAILABLE_HEAPS \
|
||||
_IOR(NVMAP_IOC_MAGIC, 25, struct nvmap_available_heaps)
|
||||
|
||||
#define NVMAP_IOC_GET_HEAP_SIZE \
|
||||
_IOR(NVMAP_IOC_MAGIC, 26, struct nvmap_heap_size)
|
||||
|
||||
#define NVMAP_IOC_PARAMETERS \
|
||||
_IOR(NVMAP_IOC_MAGIC, 27, struct nvmap_handle_parameters)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user