mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Remove all nvgpu_next files and move the code into corresponding nvgpu files. Merge nvgpu-next-*.yaml into nvgpu-.yaml files. Jira NVGPU-4771 Change-Id: I595311be3c7bbb4f6314811e68712ff01763801e Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2547557 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
/*
|
|
* Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef LINUX_IOCTL_PROF_H
|
|
#define LINUX_IOCTL_PROF_H
|
|
|
|
#include <nvgpu/types.h>
|
|
|
|
struct inode;
|
|
struct file;
|
|
#if defined(CONFIG_NVGPU_NON_FUSA)
|
|
struct nvgpu_profiler_object;
|
|
#endif
|
|
|
|
int nvgpu_prof_dev_fops_open(struct inode *inode, struct file *filp);
|
|
int nvgpu_prof_ctx_fops_open(struct inode *inode, struct file *filp);
|
|
int nvgpu_prof_fops_release(struct inode *inode, struct file *filp);
|
|
long nvgpu_prof_fops_ioctl(struct file *filp, unsigned int cmd,
|
|
unsigned long arg);
|
|
#if defined(CONFIG_NVGPU_NON_FUSA)
|
|
int nvgpu_next_prof_fops_ioctl(struct nvgpu_profiler_object *prof,
|
|
unsigned int cmd, void *buf);
|
|
#endif
|
|
|
|
#endif /* LINUX_IOCTL_PROF_H */
|