mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
nvidia-oot: port tegra ivc-mempool driver
Using this patch we are adding support for tegra ivc-mempool driver in oot kernel. JIRA ESLC-6885 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Iaaae26f581264b2d9b792bd26937da5f852dba8e Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763833 Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b5bfbf41b4
commit
d313ef2285
22
include/uapi/linux/nvhvivc_mempool_ioctl.h
Normal file
22
include/uapi/linux/nvhvivc_mempool_ioctl.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
#ifndef __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__
|
||||
#define __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__
|
||||
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
/* ivc mempool IOCTL magic number */
|
||||
#define TEGRA_MPLUSERSPACE_IOCTL_MAGIC 0xA6
|
||||
|
||||
|
||||
/* IOCTL definitions */
|
||||
|
||||
/* query ivc mempool configuration data */
|
||||
#define TEGRA_MPLUSERSPACE_IOCTL_GET_INFO \
|
||||
_IOR(TEGRA_MPLUSERSPACE_IOCTL_MAGIC, 1, struct ivc_mempool)
|
||||
|
||||
#define TEGRA_MPLUSERSPACE_IOCTL_NUMBER_MAX 1
|
||||
|
||||
#endif /* __UAPI_NVHVIVC_MEMPOOL_IOCTL_H__ */
|
||||
Reference in New Issue
Block a user