From e8b7a5ca26515d09d40ae13d0a833ddaaf4af17a Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 19 Apr 2023 08:51:01 +0000 Subject: [PATCH] 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 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890635 Reviewed-by: Jonathan Hunter Reviewed-by: Ketan Patil GVS: Gerrit_Virtual_Submit --- .../video/tegra/nvmap/Makefile.memory.configs | 13 ++----------- .../tegra/nvmap/include/linux/nvmap_exports.h | 13 ++----------- drivers/video/tegra/nvmap/nvmap_alloc.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_cache.c | 12 +----------- drivers/video/tegra/nvmap/nvmap_cache_maint.S | 16 +++------------- drivers/video/tegra/nvmap/nvmap_carveout.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_core.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_dev.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_dmabuf.c | 12 ++---------- drivers/video/tegra/nvmap/nvmap_fault.c | 12 +----------- drivers/video/tegra/nvmap/nvmap_handle.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_heap.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_heap.h | 14 ++------------ drivers/video/tegra/nvmap/nvmap_id_array.c | 2 +- drivers/video/tegra/nvmap/nvmap_init.c | 12 +----------- drivers/video/tegra/nvmap/nvmap_init_t19x.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_ioctl.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_ioctl.h | 14 ++------------ drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_mm.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_pp.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_priv.h | 14 ++------------ drivers/video/tegra/nvmap/nvmap_sci_ipc.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_sci_ipc.h | 14 ++------------ drivers/video/tegra/nvmap/nvmap_stats.c | 14 ++------------ drivers/video/tegra/nvmap/nvmap_stats.h | 12 ++---------- drivers/video/tegra/nvmap/nvmap_tag.c | 14 ++------------ include/linux/nvmap.h | 14 ++------------ include/linux/nvmap_t19x.h | 14 ++------------ include/trace/events/nvmap.h | 14 ++------------ include/uapi/linux/nvmap.h | 14 ++------------ 31 files changed, 59 insertions(+), 353 deletions(-) diff --git a/drivers/video/tegra/nvmap/Makefile.memory.configs b/drivers/video/tegra/nvmap/Makefile.memory.configs index aed850bd..6b6a240d 100644 --- a/drivers/video/tegra/nvmap/Makefile.memory.configs +++ b/drivers/video/tegra/nvmap/Makefile.memory.configs @@ -1,14 +1,5 @@ -# Copyright (c) 2021-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. -# +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. # This file consists of 4 sections # Section 1: This section is for doing prerequisite check. diff --git a/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h b/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h index 4676a993..0d10e50b 100644 --- a/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h +++ b/drivers/video/tegra/nvmap/include/linux/nvmap_exports.h @@ -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. - * - * 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. + * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. */ #ifndef __NVMAP_EXPORTS_H #define __NVMAP_EXPORTS_H diff --git a/drivers/video/tegra/nvmap/nvmap_alloc.c b/drivers/video/tegra/nvmap/nvmap_alloc.c index 998f94cc..3a5a31e5 100644 --- a/drivers/video/tegra/nvmap/nvmap_alloc.c +++ b/drivers/video/tegra/nvmap/nvmap_alloc.c @@ -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. * - * 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. + * Handle allocation and freeing routines for nvmap */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_cache.c b/drivers/video/tegra/nvmap/nvmap_cache.c index 95702fdf..dfd05e2b 100644 --- a/drivers/video/tegra/nvmap/nvmap_cache.c +++ b/drivers/video/tegra/nvmap/nvmap_cache.c @@ -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. - * - * 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__ diff --git a/drivers/video/tegra/nvmap/nvmap_cache_maint.S b/drivers/video/tegra/nvmap/nvmap_cache_maint.S index c471aa04..08fa050d 100644 --- a/drivers/video/tegra/nvmap/nvmap_cache_maint.S +++ b/drivers/video/tegra/nvmap/nvmap_cache_maint.S @@ -1,21 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * Cache maintenance - * + * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. * Derived from Linux kernel source file arch/arm64/mm/cache.S * Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2012 ARM Ltd. * - * 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. - * + * Cache maintenance */ #include diff --git a/drivers/video/tegra/nvmap/nvmap_carveout.c b/drivers/video/tegra/nvmap/nvmap_carveout.c index ac703d58..f407bd47 100644 --- a/drivers/video/tegra/nvmap/nvmap_carveout.c +++ b/drivers/video/tegra/nvmap/nvmap_carveout.c @@ -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 - * - * 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 diff --git a/drivers/video/tegra/nvmap/nvmap_core.c b/drivers/video/tegra/nvmap/nvmap_core.c index 458e6c8c..e54e429f 100644 --- a/drivers/video/tegra/nvmap/nvmap_core.c +++ b/drivers/video/tegra/nvmap/nvmap_core.c @@ -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. * - * 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. + * Memory manager for Tegra GPU */ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_dev.c b/drivers/video/tegra/nvmap/nvmap_dev.c index 32e0c813..728e2cab 100644 --- a/drivers/video/tegra/nvmap/nvmap_dev.c +++ b/drivers/video/tegra/nvmap/nvmap_dev.c @@ -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. * - * 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. + * User-space interface to nvmap */ #include diff --git a/drivers/video/tegra/nvmap/nvmap_dmabuf.c b/drivers/video/tegra/nvmap/nvmap_dmabuf.c index 880cce9b..3a3b65dc 100644 --- a/drivers/video/tegra/nvmap/nvmap_dmabuf.c +++ b/drivers/video/tegra/nvmap/nvmap_dmabuf.c @@ -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. * - * 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. + * dma_buf exporter for nvmap */ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_fault.c b/drivers/video/tegra/nvmap/nvmap_fault.c index 7a0ead22..4e56a1dd 100644 --- a/drivers/video/tegra/nvmap/nvmap_fault.c +++ b/drivers/video/tegra/nvmap/nvmap_fault.c @@ -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. - * - * 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__ diff --git a/drivers/video/tegra/nvmap/nvmap_handle.c b/drivers/video/tegra/nvmap/nvmap_handle.c index e1dd13bb..3c1564f3 100644 --- a/drivers/video/tegra/nvmap/nvmap_handle.c +++ b/drivers/video/tegra/nvmap/nvmap_handle.c @@ -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. * - * 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. + * Handle allocation and freeing routines for nvmap */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_heap.c b/drivers/video/tegra/nvmap/nvmap_heap.c index 79f1ae4c..972fab55 100644 --- a/drivers/video/tegra/nvmap/nvmap_heap.c +++ b/drivers/video/tegra/nvmap/nvmap_heap.c @@ -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. * - * 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. + * GPU heap allocator. */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_heap.h b/drivers/video/tegra/nvmap/nvmap_heap.h index 5525a628..b0f6a4cb 100644 --- a/drivers/video/tegra/nvmap/nvmap_heap.h +++ b/drivers/video/tegra/nvmap/nvmap_heap.h @@ -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. * - * 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. + * GPU heap allocator. */ #ifndef __NVMAP_HEAP_H diff --git a/drivers/video/tegra/nvmap/nvmap_id_array.c b/drivers/video/tegra/nvmap/nvmap_id_array.c index 86b96835..8fbfdd00 100644 --- a/drivers/video/tegra/nvmap/nvmap_id_array.c +++ b/drivers/video/tegra/nvmap/nvmap_id_array.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2021-2022 NVIDIA Corporation + * Copyright (c) 2011-2023, NVIDIA Corporation. All rights reserved. */ #include diff --git a/drivers/video/tegra/nvmap/nvmap_init.c b/drivers/video/tegra/nvmap/nvmap_init.c index 34bece14..5030c2b7 100644 --- a/drivers/video/tegra/nvmap/nvmap_init.c +++ b/drivers/video/tegra/nvmap/nvmap_init.c @@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * 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__ diff --git a/drivers/video/tegra/nvmap/nvmap_init_t19x.c b/drivers/video/tegra/nvmap/nvmap_init_t19x.c index 011402d7..9383accc 100644 --- a/drivers/video/tegra/nvmap/nvmap_init_t19x.c +++ b/drivers/video/tegra/nvmap/nvmap_init_t19x.c @@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * drivers/video/tegra/nvmap/nvmap_init_t19x.c - * - * 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. + * Copyright (c) 2016-2023, NVIDIA CORPORATION. All rights reserved. */ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_ioctl.c b/drivers/video/tegra/nvmap/nvmap_ioctl.c index 3d69ed5b..d3cc422a 100644 --- a/drivers/video/tegra/nvmap/nvmap_ioctl.c +++ b/drivers/video/tegra/nvmap/nvmap_ioctl.c @@ -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. * - * 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. + * User-space interface to nvmap */ #define pr_fmt(fmt) "nvmap: %s() " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_ioctl.h b/drivers/video/tegra/nvmap/nvmap_ioctl.h index 9afa25c6..919f4dbd 100644 --- a/drivers/video/tegra/nvmap/nvmap_ioctl.h +++ b/drivers/video/tegra/nvmap/nvmap_ioctl.h @@ -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 - * - * 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 diff --git a/drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c b/drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c index ce09edee..004a04f4 100644 --- a/drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c +++ b/drivers/video/tegra/nvmap/nvmap_kasan_wrapper.c @@ -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 - * - * 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 #include diff --git a/drivers/video/tegra/nvmap/nvmap_mm.c b/drivers/video/tegra/nvmap/nvmap_mm.c index 640511f0..0016d6d9 100644 --- a/drivers/video/tegra/nvmap/nvmap_mm.c +++ b/drivers/video/tegra/nvmap/nvmap_mm.c @@ -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. - * - * 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 diff --git a/drivers/video/tegra/nvmap/nvmap_pp.c b/drivers/video/tegra/nvmap/nvmap_pp.c index 36fe93fb..7568c81c 100644 --- a/drivers/video/tegra/nvmap/nvmap_pp.c +++ b/drivers/video/tegra/nvmap/nvmap_pp.c @@ -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. * - * 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. + * Manage page pools to speed up page allocation. */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_priv.h b/drivers/video/tegra/nvmap/nvmap_priv.h index aca75a25..729ea9aa 100644 --- a/drivers/video/tegra/nvmap/nvmap_priv.h +++ b/drivers/video/tegra/nvmap/nvmap_priv.h @@ -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. * - * 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. + * GPU memory management driver for Tegra */ #ifndef __VIDEO_TEGRA_NVMAP_NVMAP_H diff --git a/drivers/video/tegra/nvmap/nvmap_sci_ipc.c b/drivers/video/tegra/nvmap/nvmap_sci_ipc.c index d8b6c2e8..f8701207 100644 --- a/drivers/video/tegra/nvmap/nvmap_sci_ipc.c +++ b/drivers/video/tegra/nvmap/nvmap_sci_ipc.c @@ -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. * - * 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. + * mapping between nvmap_hnadle and sci_ipc entery */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/video/tegra/nvmap/nvmap_sci_ipc.h b/drivers/video/tegra/nvmap/nvmap_sci_ipc.h index ff2fa3e3..1311df30 100644 --- a/drivers/video/tegra/nvmap/nvmap_sci_ipc.h +++ b/drivers/video/tegra/nvmap/nvmap_sci_ipc.h @@ -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 - * - * 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 #define __VIDEO_TEGRA_NVMAP_SCI_IPC_H diff --git a/drivers/video/tegra/nvmap/nvmap_stats.c b/drivers/video/tegra/nvmap/nvmap_stats.c index 7be8aeef..bfc1b84a 100644 --- a/drivers/video/tegra/nvmap/nvmap_stats.c +++ b/drivers/video/tegra/nvmap/nvmap_stats.c @@ -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 - * - * 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 diff --git a/drivers/video/tegra/nvmap/nvmap_stats.h b/drivers/video/tegra/nvmap/nvmap_stats.h index 3e2d3e80..88cbaab7 100644 --- a/drivers/video/tegra/nvmap/nvmap_stats.h +++ b/drivers/video/tegra/nvmap/nvmap_stats.h @@ -1,14 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 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. + * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved. */ #ifndef __VIDEO_TEGRA_NVMAP_STATS_H diff --git a/drivers/video/tegra/nvmap/nvmap_tag.c b/drivers/video/tegra/nvmap/nvmap_tag.c index 0efd8ecc..d429a19d 100644 --- a/drivers/video/tegra/nvmap/nvmap_tag.c +++ b/drivers/video/tegra/nvmap/nvmap_tag.c @@ -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 - * - * 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__ diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 542f9621..d5e0e9c6 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -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. * - * 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. + * structure declarations for nvmem and nvmap user-space ioctls */ #ifndef _LINUX_NVMAP_H diff --git a/include/linux/nvmap_t19x.h b/include/linux/nvmap_t19x.h index 7be131dc..5979de55 100644 --- a/include/linux/nvmap_t19x.h +++ b/include/linux/nvmap_t19x.h @@ -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 - * - * 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 diff --git a/include/trace/events/nvmap.h b/include/trace/events/nvmap.h index 9910b368..8990ae06 100644 --- a/include/trace/events/nvmap.h +++ b/include/trace/events/nvmap.h @@ -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. - * - * 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 diff --git a/include/uapi/linux/nvmap.h b/include/uapi/linux/nvmap.h index de7d0f47..c35472d7 100644 --- a/include/uapi/linux/nvmap.h +++ b/include/uapi/linux/nvmap.h @@ -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. * - * 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. + * structure declarations for nvmem and nvmap user-space ioctls */ #include