From 83b5436aa4ed722030d515091a83caacc5cf657b Mon Sep 17 00:00:00 2001 From: Jiyu Yang Date: Fri, 16 Nov 2018 16:56:37 +0800 Subject: [PATCH] gpu: license update [1/1] PD#SWPL-2111 Problem: license unclear Solution: declare the GPL license Verify: ampere Change-Id: I58db53730c5032e54a70f5af12c4b3343248224c Signed-off-by: Jiyu Yang --- mali/linux/mali_internal_sync.c | 14 ++++++------- mali/linux/mali_internal_sync.h | 15 +++++++------- .../midgard/platform/devicetree/mali_clock.c | 17 ++++++++++++++++ .../midgard/platform/devicetree/mali_clock.h | 17 ++++++++++++++++ .../devicetree/mali_kbase_config_devicetree.c | 20 +++++++++---------- .../devicetree/mali_kbase_config_platform.h | 20 +++++++++---------- .../devicetree/mali_kbase_runtime_pm.c | 20 +++++++++---------- .../platform/devicetree/mali_platform.h | 14 +++++++++++-- .../platform/devicetree/mali_scaling.h | 17 +++++++++++----- .../midgard/platform/devicetree/meson_main2.c | 15 +++++++++++--- .../midgard/platform/devicetree/meson_main2.h | 16 ++++++++++++--- .../arm/midgard/platform/devicetree/mpgpu.c | 19 ++++++++++++------ .../midgard/platform/devicetree/platform_gx.c | 16 +++++++++++---- .../arm/midgard/platform/devicetree/scaling.c | 17 +++++++++++----- 14 files changed, 164 insertions(+), 73 deletions(-) diff --git a/mali/linux/mali_internal_sync.c b/mali/linux/mali_internal_sync.c index c662518..be8a53e 100644 --- a/mali/linux/mali_internal_sync.c +++ b/mali/linux/mali_internal_sync.c @@ -1,11 +1,11 @@ /* - * This confidential and proprietary software may be used only as - * authorised by a licensing agreement from ARM Limited - * (C) COPYRIGHT 2012-2016 ARM Limited - * ALL RIGHTS RESERVED - * The entire notice above must be reproduced on all authorised - * copies and copies may only be made to the extent permitted - * by a licensing agreement from ARM Limited. + * Copyright (C) 2011-2016 ARM Limited. All rights reserved. + * + * This program is free software and is provided to you under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. + * + * A copy of the licence is included with the program, and can also be obtained from Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "mali_internal_sync.h" diff --git a/mali/linux/mali_internal_sync.h b/mali/linux/mali_internal_sync.h index c80545b..88307bc 100755 --- a/mali/linux/mali_internal_sync.h +++ b/mali/linux/mali_internal_sync.h @@ -1,13 +1,12 @@ /* - * This confidential and proprietary software may be used only as - * authorised by a licensing agreement from ARM Limited - * (C) COPYRIGHT 2012-2015 ARM Limited - * ALL RIGHTS RESERVED - * The entire notice above must be reproduced on all authorised - * copies and copies may only be made to the extent permitted - * by a licensing agreement from ARM Limited. + * Copyright (C) 2011-2016 ARM Limited. All rights reserved. + * + * This program is free software and is provided to you under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. + * + * A copy of the licence is included with the program, and can also be obtained from Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - /** * @file mali_internal_sync.h * diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c @@ -1,3 +1,20 @@ +/* + * mali_clock.c + * + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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 #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h @@ -1,3 +1,20 @@ +/* + * mali_clock.h + * + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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 __MALI_CLOCK_H__ #define __MALI_CLOCK_H__ #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 8d762b0..7ce3539 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015, 2017 ARM Limited. All rights reserved. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * - * This program is free software and is provided to you under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * A copy of the licence is included with the program, and can also be obtained - * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. + * This program is distributed in the hope that 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. * */ - - #ifdef CONFIG_DEVFREQ_THERMAL #include #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 3ab8dfd..233a18e 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2017 ARM Limited. All rights reserved. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * - * This program is free software and is provided to you under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * A copy of the licence is included with the program, and can also be obtained - * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. + * This program is distributed in the hope that 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. * */ - - /** * Maximum frequency GPU will be clocked at. Given in kHz. * This must be specified as there is no default value. diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3adb5e4..37f6082 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015, 2017 ARM Limited. All rights reserved. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * - * This program is free software and is provided to you under the terms of the - * GNU General Public License version 2 as published by the Free Software - * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * A copy of the licence is included with the program, and can also be obtained - * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. + * This program is distributed in the hope that 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 #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h @@ -1,8 +1,18 @@ /* * mali_platform.h * - * Created on: Nov 8, 2013 - * Author: amlogic + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * mali_scaling.h * - * This program is free software and is provided to you under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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. * - * A copy of the licence is included with the program, and can also be obtained from Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /** diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c @@ -1,8 +1,17 @@ /* - * Copyright (C) 2010, 2012-2014 Amlogic Limited. All rights reserved. + * meson_main2.c * - * This program is free software and is provided to you under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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. * */ diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * meson_main2.h + * + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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. * - * Created on: Nov 8, 2013 - * Author: amlogic */ #ifndef MESON_MAIN_H_ diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c @@ -1,13 +1,20 @@ -/******************************************************************* +/* + * mpgpu.c * - * Copyright C 2013 by Amlogic, Inc. All Rights Reserved. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * - * Description: + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * Author: Amlogic Software - * Created: 2010/4/1 19:46 + * This program is distributed in the hope that 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. * - *******************************************************************/ + */ + /* Standard Linux headers */ #include #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 4ffbfb0..560668a 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c @@ -1,10 +1,18 @@ /* - * platform.c + * platform_gx.c * - * clock source setting and resource config + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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. * - * Created on: Dec 4, 2013 - * Author: amlogic */ #include diff --git a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * scaling.c * - * This program is free software and is provided to you under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. + * Copyright (C) 2017 Amlogic, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that 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. * - * A copy of the licence is included with the program, and can also be obtained from Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /** -- 2.20.1