From a7dcaa77ab6aeaa101092442c277da5733542a60 Mon Sep 17 00:00:00 2001 From: Sagar Kamble Date: Tue, 10 Dec 2019 16:00:38 +0530 Subject: [PATCH] gpu: nvgpu: use MIT license for nvgpu posix code nvgpu posix code should have MIT license. Bug 2778988 Change-Id: I1ab3f7cec3cb66183f76f5d11fd0290a120691ab Signed-off-by: Sagar Kamble Reviewed-on: https://git-master.nvidia.com/r/2259189 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: svc-mobile-cert Reviewed-by: Deepak Nibade GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/posix/fecs_trace_posix.c | 24 +++++++++++------- drivers/gpu/nvgpu/os/posix/posix-vpr.c | 25 +++++++++++++------ 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/nvgpu/os/posix/fecs_trace_posix.c b/drivers/gpu/nvgpu/os/posix/fecs_trace_posix.c index 05bcfc57a..79bffc160 100644 --- a/drivers/gpu/nvgpu/os/posix/fecs_trace_posix.c +++ b/drivers/gpu/nvgpu/os/posix/fecs_trace_posix.c @@ -1,17 +1,23 @@ /* * Copyright (c) 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. + * 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 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. + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ #include diff --git a/drivers/gpu/nvgpu/os/posix/posix-vpr.c b/drivers/gpu/nvgpu/os/posix/posix-vpr.c index 309100db8..785ea0e94 100644 --- a/drivers/gpu/nvgpu/os/posix/posix-vpr.c +++ b/drivers/gpu/nvgpu/os/posix/posix-vpr.c @@ -1,14 +1,23 @@ /* * Copyright (c) 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. + * 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 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. + * 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. */ #include @@ -16,4 +25,4 @@ bool nvgpu_is_vpr_resize_enabled(void) { return false; -} \ No newline at end of file +}