nvmap: Use SPDX license GPL 2.0 format

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>
This commit is contained in:
Laxman Dewangan
2023-04-19 08:51:01 +00:00
committed by mobile promotions
parent 0daf056dc9
commit e8b7a5ca26
31 changed files with 59 additions and 353 deletions

View File

@@ -1,14 +1,5 @@
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # SPDX-License-Identifier: GPL-2.0-only
# # Copyright (c) 2021-2023, 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.
#
# This file consists of 4 sections # This file consists of 4 sections
# Section 1: This section is for doing prerequisite check. # Section 1: This section is for doing prerequisite check.

View File

@@ -1,15 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2021-2023, 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.
*/ */
#ifndef __NVMAP_EXPORTS_H #ifndef __NVMAP_EXPORTS_H
#define __NVMAP_EXPORTS_H #define __NVMAP_EXPORTS_H

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_alloc.c
*
* Handle allocation and freeing routines for nvmap
*
* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * Handle allocation and freeing routines for nvmap
* 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,16 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_cache.c
*
* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2011-2023, 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.
*/ */
#define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__

View File

@@ -1,21 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
*
* Cache maintenance
*
* Derived from Linux kernel source file arch/arm64/mm/cache.S * Derived from Linux kernel source file arch/arm64/mm/cache.S
* Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2001 Deep Blue Solutions Ltd.
* Copyright (C) 2012 ARM Ltd. * Copyright (C) 2012 ARM Ltd.
* *
* This program is free software; you can redistribute it and/or modify it * Cache maintenance
* 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.
*
*/ */
#include <linux/errno.h> #include <linux/errno.h>

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_dev.c * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.
* *
* Interface with nvmap carveouts * Interface with nvmap carveouts
*
* Copyright (c) 2011-2022, 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.
*/ */
#include <linux/debugfs.h> #include <linux/debugfs.h>

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_core.c
*
* Memory manager for Tegra GPU
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * Memory manager for Tegra GPU
* 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.
*/ */
#define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_dev.c
*
* User-space interface to nvmap
*
* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * User-space interface to nvmap
* 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.
*/ */
#include <linux/backing-dev.h> #include <linux/backing-dev.h>

View File

@@ -1,16 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* dma_buf exporter for nvmap
*
* Copyright (c) 2012-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2012-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * dma_buf exporter for nvmap
* 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.
*/ */
#define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__

View File

@@ -1,16 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_fault.c
*
* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2011-2023, 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_handle.c
*
* Handle allocation and freeing routines for nvmap
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * Handle allocation and freeing routines for nvmap
* 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_heap.c
*
* GPU heap allocator.
*
* Copyright (c) 2011-2023, NVIDIA Corporation. All rights reserved. * Copyright (c) 2011-2023, NVIDIA Corporation. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * GPU heap allocator.
* 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* drivers/video/tegra/nvmap/nvmap_heap.h
*
* GPU heap allocator.
*
* Copyright (c) 2010-2023, NVIDIA Corporation. All rights reserved. * Copyright (c) 2010-2023, NVIDIA Corporation. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * GPU heap allocator.
* 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.
*/ */
#ifndef __NVMAP_HEAP_H #ifndef __NVMAP_HEAP_H

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (c) 2021-2022 NVIDIA Corporation * Copyright (c) 2011-2023, NVIDIA Corporation. All rights reserved.
*/ */
#include <linux/xarray.h> #include <linux/xarray.h>

View File

@@ -1,16 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (c) 2014-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2014-2023, 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.
*
* Portions derived from Linux kernel source file kernel/dma/coherent.c
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,16 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_init_t19x.c * Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved.
*
* Copyright (c) 2016-2022, 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.
*/ */
#define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_ioctl.c
*
* User-space interface to nvmap
*
* Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * User-space interface to nvmap
* 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.
*/ */
#define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* drivers/video/tegra/nvmap/nvmap_ioctl.h * Copyright (c) 2010-2023, NVIDIA CORPORATION. All rights reserved.
* *
* ioctl declarations for nvmap * ioctl declarations for nvmap
*
* Copyright (c) 2010-2019, 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.
*/ */
#ifndef __VIDEO_TEGRA_NVMAP_IOCTL_H #ifndef __VIDEO_TEGRA_NVMAP_IOCTL_H

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
* *
* place to add wrapper function to drop kasan scan * place to add wrapper function to drop kasan scan
*
* Copyright (c) 2018-2022, 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.
*/ */
#include <linux/export.h> #include <linux/export.h>
#include <linux/types.h> #include <linux/types.h>

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_mm.c * Copyright (c) 2013-2023, NVIDIA CORPORATION. All rights reserved.
* *
* Some MM related functionality specific to nvmap. * Some MM related functionality specific to nvmap.
*
* Copyright (c) 2013-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.
*/ */
#include <trace/events/nvmap.h> #include <trace/events/nvmap.h>

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_pp.c
*
* Manage page pools to speed up page allocation.
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * Manage page pools to speed up page allocation.
* 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* drivers/video/tegra/nvmap/nvmap.h
*
* GPU memory management driver for Tegra
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * GPU memory management driver for Tegra
* 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.
*/ */
#ifndef __VIDEO_TEGRA_NVMAP_NVMAP_H #ifndef __VIDEO_TEGRA_NVMAP_NVMAP_H

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_sci_ipc.c
*
* mapping between nvmap_hnadle and sci_ipc entery
*
* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * mapping between nvmap_hnadle and sci_ipc entery
* 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* drivers/video/tegra/nvmap/nvmap_sci_ipc.c * Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
* *
* mapping between nvmap_hnadle and sci_ipc entery * mapping between nvmap_hnadle and sci_ipc entery
*
* Copyright (c) 2019-2022, 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.
*/ */
#ifndef __VIDEO_TEGRA_NVMAP_SCI_IPC_H #ifndef __VIDEO_TEGRA_NVMAP_SCI_IPC_H
#define __VIDEO_TEGRA_NVMAP_SCI_IPC_H #define __VIDEO_TEGRA_NVMAP_SCI_IPC_H

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_stats.c * Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.
* *
* Nvmap Stats keeping * Nvmap Stats keeping
*
* Copyright (c) 2011-2018, 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.
*/ */
#include <linux/debugfs.h> #include <linux/debugfs.h>

View File

@@ -1,14 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2018-2023, 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.
*/ */
#ifndef __VIDEO_TEGRA_NVMAP_STATS_H #ifndef __VIDEO_TEGRA_NVMAP_STATS_H

View File

@@ -1,18 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* drivers/video/tegra/nvmap/nvmap_tag.c * Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved.
* *
* Allocation tag routines for nvmap * Allocation tag routines for nvmap
*
* Copyright (c) 2016-2018, 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.
*/ */
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* include/linux/nvmap.h
*
* structure declarations for nvmem and nvmap user-space ioctls
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * structure declarations for nvmem and nvmap user-space ioctls
* 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.
*/ */
#ifndef _LINUX_NVMAP_H #ifndef _LINUX_NVMAP_H

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* include/linux/nvmap_t19x.h * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* structure declarations for nvmem and nvmap user-space ioctls * structure declarations for nvmem and nvmap user-space ioctls
*
* Copyright (c) 2009-2022, 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.
*/ */
#include <linux/types.h> #include <linux/types.h>

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* include/trace/events/nvmap.h * Copyright (c) 2012-2023, NVIDIA CORPORATION. All rights reserved.
* *
* NvMap event logging to ftrace. * NvMap event logging to ftrace.
*
* Copyright (c) 2012-2022, 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.
*/ */
#undef TRACE_SYSTEM #undef TRACE_SYSTEM

View File

@@ -1,18 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* include/uapi/linux/nvmap.h
*
* structure declarations for nvmem and nvmap user-space ioctls
*
* Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2009-2023, NVIDIA CORPORATION. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify it * structure declarations for nvmem and nvmap user-space ioctls
* 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.
*/ */
#include <linux/ioctl.h> #include <linux/ioctl.h>