gpu: nvgpu: use MIT license for OS agnostic source code

Bug 3384871

Signed-off-by: srajum <srajum@nvidia.com>
Change-Id: I51241d025560496e5ab8b2c1a6b7b7b7611bdd54
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2632374
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: Ankur Kishore <ankkishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
srajum
2021-11-25 16:31:57 +05:30
committed by mobile promotions
parent 7dc013d242
commit a2d0b11b98
3 changed files with 53 additions and 25 deletions

View File

@@ -1,21 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* /*
* GSP Tests * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
* *
* Copyright (c) 2021-2022, NVIDIA Corporation. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* *
* This program is free software; you can redistribute it and/or modify it * The above copyright notice and this permission notice shall be included in
* under the terms and conditions of the GNU General Public License, * all copies or substantial portions of the Software.
* version 2, as published by the Free Software Foundation.
* *
* This program is distributed in the hope it will be useful, but WITHOUT * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* more details. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* You should have received a copy of the GNU General Public License * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* along with this program. If not, see <http://www.gnu.org/licenses/>. * DEALINGS IN THE SOFTWARE.
*/ */
#ifndef NVGPU_GSP_TEST #ifndef NVGPU_GSP_TEST
#define NVGPU_GSP_TEST #define NVGPU_GSP_TEST

View File

@@ -1,11 +1,23 @@
/* /*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
* *
* NVIDIA Corporation and its licensors retain all intellectual property and * Permission is hereby granted, free of charge, to any person obtaining a
* proprietary rights in and to this software and related documentation. Any * copy of this software and associated documentation files (the "Software"),
* use, reproduction, disclosure or distribution of this software and related * to deal in the Software without restriction, including without limitation
* documentation without an express license agreement from NVIDIA Corporation * the rights to use, copy, modify, merge, publish, distribute, sublicense,
* is strictly prohibited. * and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/ */
#ifndef NVGPU_ERR_INFO_H #ifndef NVGPU_ERR_INFO_H

View File

@@ -1,11 +1,23 @@
/* /*
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
* *
* NVIDIA Corporation and its licensors retain all intellectual property and * Permission is hereby granted, free of charge, to any person obtaining a
* proprietary rights in and to this software and related documentation. Any * copy of this software and associated documentation files (the "Software"),
* use, reproduction, disclosure or distribution of this software and related * to deal in the Software without restriction, including without limitation
* documentation without an express license agreement from NVIDIA Corporation * the rights to use, copy, modify, merge, publish, distribute, sublicense,
* is strictly prohibited. * and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/ */
#ifndef NVGPU_POSIX_MOCK_REGS_H #ifndef NVGPU_POSIX_MOCK_REGS_H