From: Jiyu Yang Date: Fri, 16 Nov 2018 02:24:42 +0000 (+0800) Subject: gpu: license update [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76ff0a296928f6fcba9cd4b18f48f6da16fa5d61;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_mali-driver.git gpu: license update [1/1] PD#SWPL-2111 Problem: license unclear Solution: declare the GPL license Verify: ampere Change-Id: I64a5454d598bbe132f357200103925865a2df199 Signed-off-by: Jiyu Yang --- diff --git a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index d131a4b..d3ff22c 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 8d762b0..7ce3539 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 3ab8dfd..233a18e 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c index dc1654f..7658626 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c +++ b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c @@ -1,6 +1,20 @@ -/** - ** Meson hardware specific initialization - **/ +/* + * mali_kbase_meson.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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h index 89ff21b..5e69f33 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h +++ b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h @@ -1,4 +1,19 @@ - +/* + * mali_kbase_meson.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. + * + */ #include #include diff --git a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index a6ef90f..88e061a 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,22 +1,17 @@ /* + * 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. * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, you can access it online at - * http://www.gnu.org/licenses/gpl-2.0.html. - * - * SPDX-License-Identifier: GPL-2.0 + * 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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 64de2d5..09feaaf 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index 65f8e14..a7b4769 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 831ae72..6cbeb0c 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 3997300..ac49caa 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/bifrost/r10p0/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/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index 4fa0773..081a97b 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/bifrost/r10p0/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. */ /** diff --git a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c index 8e2fd74..4935397 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c +++ b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c @@ -23,7 +23,6 @@ inline int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation, u32 util_gl_share, u32 util_cl_share[2]) { - trace_printk("utilisation=%d, util_gl_share=%d\n", utilisation, util_gl_share); return 1; } diff --git a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index d131a4b..d3ff22c 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 8d762b0..7ce3539 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 3ab8dfd..233a18e 100755 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c index dc1654f..7658626 100755 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c +++ b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c @@ -1,6 +1,20 @@ -/** - ** Meson hardware specific initialization - **/ +/* + * mali_kbase_meson.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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h index 89ff21b..5e69f33 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h +++ b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h @@ -1,4 +1,19 @@ - +/* + * mali_kbase_meson.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. + * + */ #include #include diff --git a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index ece08be..88e061a 100755 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index dbce893..a40bad7 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index d0a4c60..e1fb75e 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index e1cc642..d483f6d 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/bifrost/r9p0/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/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index 4fa0773..081a97b 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/bifrost/r9p0/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. */ /** diff --git a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c index 8e2fd74..4935397 100644 --- a/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c +++ b/bifrost/r9p0/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c @@ -23,7 +23,6 @@ inline int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation, u32 util_gl_share, u32 util_cl_share[2]) { - trace_printk("utilisation=%d, util_gl_share=%d\n", utilisation, util_gl_share); return 1; } diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index d131a4b..d3ff22c 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index d7dd246..7ce3539 100755 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,26 +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. * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, you can access it online at - * http://www.gnu.org/licenses/gpl-2.0.html. - * - * SPDX-License-Identifier: GPL-2.0 + * 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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 1c56015..233a18e 100755 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,28 +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. * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, you can access it online at - * http://www.gnu.org/licenses/gpl-2.0.html. - * - * SPDX-License-Identifier: GPL-2.0 + * 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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c index dc1654f..7658626 100755 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.c @@ -1,6 +1,20 @@ -/** - ** Meson hardware specific initialization - **/ +/* + * mali_kbase_meson.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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h index 89ff21b..5e69f33 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_meson.h @@ -1,4 +1,19 @@ - +/* + * mali_kbase_meson.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. + * + */ #include #include diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index a6ef90f..88e061a 100755 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,22 +1,17 @@ /* + * 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. * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, you can access it online at - * http://www.gnu.org/licenses/gpl-2.0.html. - * - * SPDX-License-Identifier: GPL-2.0 + * 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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 64de2d5..09feaaf 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index 65f8e14..a7b4769 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 831ae72..6cbeb0c 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 3997300..ac49caa 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/dvalin/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/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index 4fa0773..081a97b 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/dvalin/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. */ /** diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c b/dvalin/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c index 8e2fd74..4935397 100644 --- a/dvalin/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c +++ b/dvalin/kernel/drivers/gpu/arm/midgard/platform/meson/mali_kbase_runtime_pm.c @@ -23,7 +23,6 @@ inline int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation, u32 util_gl_share, u32 util_cl_share[2]) { - trace_printk("utilisation=%d, util_gl_share=%d\n", utilisation, util_gl_share); return 1; } diff --git a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index 90648c7..a841ab5 100755 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -574,7 +574,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100755 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index adc052c..d41a279 100755 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2015 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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100755 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index b951906..63b2be1 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r11p0/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/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/midgard/r11p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r11p0/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. */ /** diff --git a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index f83deee..addf867 100755 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -574,7 +574,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100755 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index adc052c..d41a279 100755 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2015 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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100755 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 30b978b..30f7ffe 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r12p0/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/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/midgard/r12p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r12p0/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. */ /** diff --git a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index 6d4b00d..9f21e22 100755 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -611,7 +611,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 6ddf39f..a114371 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100755 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 13af899..f8d5bd7 100755 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2016 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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100755 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index dd2a53b..548803d 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 78380a2..aa0daa9 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r13p0/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/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index 16fe365..4c7e378 100644 --- a/midgard/r13p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r13p0/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. */ /** diff --git a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index bc3bd18..5942805 100755 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -604,7 +604,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100755 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 13af899..f8d5bd7 100755 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2016 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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100755 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index 78380a2..aa0daa9 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r14p0/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/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/midgard/r14p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r14p0/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. */ /** diff --git a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index bc3bd18..5942805 100755 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -604,7 +604,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100755 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 13af899..f8d5bd7 100755 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2016 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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100755 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index b951906..63b2be1 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r15p0/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/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/midgard/r15p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r15p0/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. */ /** diff --git a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index 6be2226..4b431da 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -608,7 +608,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c index 35249a5..a3004a0 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.c +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h index 9b8b392..939d3b4 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_clock.h +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c index 1267b6f..07806b7 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c +++ b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_devicetree.c @@ -1,20 +1,20 @@ /* + * mali_kbase_config_devicetree.c * - * (C) COPYRIGHT 2015 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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h index 13af899..f8d5bd7 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h +++ b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h @@ -1,20 +1,20 @@ /* + * mali_kbase_config_platform.h * - * (C) COPYRIGHT 2014-2016 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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c index 3b3f095..c127476 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c +++ b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_runtime_pm.c @@ -1,20 +1,20 @@ /* + * mali_kbase_runtime_pm.c * - * (C) COPYRIGHT 2015 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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h index 41185d0..724112f 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_platform.h +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h index b541090..aaab5da 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_scaling.h +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c index 7687f92..fd66f20 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.c +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h index ca79752..1981fea 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/meson_main2.h +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c index 0cc5035..f82a45b 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/mpgpu.c +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c index d057897..c60cd93 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/platform_gx.c +++ b/midgard/r16p0/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/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c b/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c index aa8a77a..00556d8 100644 --- a/midgard/r16p0/kernel/drivers/gpu/arm/midgard/platform/devicetree/scaling.c +++ b/midgard/r16p0/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. */ /** diff --git a/t83x/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c b/t83x/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c index 6be2226..4b431da 100644 --- a/t83x/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c +++ b/t83x/kernel/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_pm_policy.c @@ -608,7 +608,6 @@ int set_policy_by_name(struct kbase_device *kbdev, const char *name) printk("power_policy: policy not found\n"); return -EINVAL; } - trace_printk("policy name=%s\n", name); kbase_pm_set_policy(kbdev, new_policy); diff --git a/utgard/platform/meson_bu/mali_clock.c b/utgard/platform/meson_bu/mali_clock.c index ffe6680..881099f 100644 --- a/utgard/platform/meson_bu/mali_clock.c +++ b/utgard/platform/meson_bu/mali_clock.c @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/mali_clock.h b/utgard/platform/meson_bu/mali_clock.h index 9b8b392..fdfca0f 100644 --- a/utgard/platform/meson_bu/mali_clock.h +++ b/utgard/platform/meson_bu/mali_clock.h @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/mali_dvfs.c b/utgard/platform/meson_bu/mali_dvfs.c index fb4ebef..33d73ce 100644 --- a/utgard/platform/meson_bu/mali_dvfs.c +++ b/utgard/platform/meson_bu/mali_dvfs.c @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/mali_dvfs.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. */ /** diff --git a/utgard/platform/meson_bu/mali_platform.h b/utgard/platform/meson_bu/mali_platform.h index 41185d0..d53747c 100644 --- a/utgard/platform/meson_bu/mali_platform.h +++ b/utgard/platform/meson_bu/mali_platform.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/mali_platform.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 */ #include diff --git a/utgard/platform/meson_bu/mali_pm_device.c b/utgard/platform/meson_bu/mali_pm_device.c index 6149031..d221e23 100644 --- a/utgard/platform/meson_bu/mali_pm_device.c +++ b/utgard/platform/meson_bu/mali_pm_device.c @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/mali_pm_device.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/utgard/platform/meson_bu/mali_scaling.h b/utgard/platform/meson_bu/mali_scaling.h index a8ba4e4..a7ad20f 100644 --- a/utgard/platform/meson_bu/mali_scaling.h +++ b/utgard/platform/meson_bu/mali_scaling.h @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/meson_main.h b/utgard/platform/meson_bu/meson_main.h index a67441f..6da806a 100644 --- a/utgard/platform/meson_bu/meson_main.h +++ b/utgard/platform/meson_bu/meson_main.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/meson_main.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/utgard/platform/meson_bu/meson_main2.c b/utgard/platform/meson_bu/meson_main2.c index 8dd3dc4..30e64b7 100644 --- a/utgard/platform/meson_bu/meson_main2.c +++ b/utgard/platform/meson_bu/meson_main2.c @@ -1,8 +1,17 @@ /* - * Copyright (C) 2010, 2012-2014 Amlogic Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/meson_main2.h b/utgard/platform/meson_bu/meson_main2.h index 5a65cb2..2aab867 100644 --- a/utgard/platform/meson_bu/meson_main2.h +++ b/utgard/platform/meson_bu/meson_main2.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/mpgpu.c b/utgard/platform/meson_bu/mpgpu.c index c4e2a26..b9ebf5e 100644 --- a/utgard/platform/meson_bu/mpgpu.c +++ b/utgard/platform/meson_bu/mpgpu.c @@ -1,13 +1,20 @@ -/******************************************************************* +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/platform_gx.c b/utgard/platform/meson_bu/platform_gx.c index 2842254..1b0d01b 100644 --- a/utgard/platform/meson_bu/platform_gx.c +++ b/utgard/platform/meson_bu/platform_gx.c @@ -1,10 +1,18 @@ /* - * platform.c + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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/utgard/platform/meson_bu/scaling.c b/utgard/platform/meson_bu/scaling.c index cb11d83..b6bb51a 100644 --- a/utgard/platform/meson_bu/scaling.c +++ b/utgard/platform/meson_bu/scaling.c @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_bu/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. */ /** diff --git a/utgard/platform/meson_m400/mali_fix.c b/utgard/platform/meson_m400/mali_fix.c index 121ada7..db5249d 100644 --- a/utgard/platform/meson_m400/mali_fix.c +++ b/utgard/platform/meson_m400/mali_fix.c @@ -1,21 +1,17 @@ /* - * AMLOGIC Mali fix driver. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/mali_fix.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 named License, - * or 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * Author: Tim Yao + * 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/utgard/platform/meson_m400/mali_fix.h b/utgard/platform/meson_m400/mali_fix.h index 3c29161..8b01605 100644 --- a/utgard/platform/meson_m400/mali_fix.h +++ b/utgard/platform/meson_m400/mali_fix.h @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/mali_fix.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_FIX_H #define MALI_FIX_H diff --git a/utgard/platform/meson_m400/mali_platform.c b/utgard/platform/meson_m400/mali_platform.c index 33c52f1..83db483 100644 --- a/utgard/platform/meson_m400/mali_platform.c +++ b/utgard/platform/meson_m400/mali_platform.c @@ -1,6 +1,5 @@ /* - * @file mali_platform.c - * Platform specific Mali driver functions for meson platform + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/mali_platform.c * * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * diff --git a/utgard/platform/meson_m400/mali_platform.h b/utgard/platform/meson_m400/mali_platform.h index 63f6118..37779f6 100644 --- a/utgard/platform/meson_m400/mali_platform.h +++ b/utgard/platform/meson_m400/mali_platform.h @@ -1,11 +1,18 @@ /* - * Copyright (C) 2010-2012 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/mali_platform.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/utgard/platform/meson_m400/mali_poweron_reg.h b/utgard/platform/meson_m400/mali_poweron_reg.h index ee0a880..2b99df1 100644 --- a/utgard/platform/meson_m400/mali_poweron_reg.h +++ b/utgard/platform/meson_m400/mali_poweron_reg.h @@ -1,6 +1,5 @@ /* - * @file mali_poweron_reg.h - * Platform specific Mali driver functions for meson platform + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/mali_poweron_reg.h * * Copyright (C) 2017 Amlogic, Inc. All rights reserved. * diff --git a/utgard/platform/meson_m400/platform_mx.c b/utgard/platform/meson_m400/platform_mx.c index 993e51c..6e2aa42 100644 --- a/utgard/platform/meson_m400/platform_mx.c +++ b/utgard/platform/meson_m400/platform_mx.c @@ -1,10 +1,18 @@ /* - * platform.c + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m400/platform_mx.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/utgard/platform/meson_m450/mali_clock.c b/utgard/platform/meson_m450/mali_clock.c index 7fa0d29..2622196 100644 --- a/utgard/platform/meson_m450/mali_clock.c +++ b/utgard/platform/meson_m450/mali_clock.c @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/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/utgard/platform/meson_m450/mali_clock.h b/utgard/platform/meson_m450/mali_clock.h index 53ccda0..b6dd37e 100644 --- a/utgard/platform/meson_m450/mali_clock.h +++ b/utgard/platform/meson_m450/mali_clock.h @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/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_ diff --git a/utgard/platform/meson_m450/mali_platform.h b/utgard/platform/meson_m450/mali_platform.h index 41185d0..97eeb31 100644 --- a/utgard/platform/meson_m450/mali_platform.h +++ b/utgard/platform/meson_m450/mali_platform.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/mali_platform.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 */ #include diff --git a/utgard/platform/meson_m450/mali_pm_device.c b/utgard/platform/meson_m450/mali_pm_device.c index 4f9e0d0..9875a96 100644 --- a/utgard/platform/meson_m450/mali_pm_device.c +++ b/utgard/platform/meson_m450/mali_pm_device.c @@ -1,3 +1,20 @@ +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/mali_pm_device.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/utgard/platform/meson_m450/mali_scaling.h b/utgard/platform/meson_m450/mali_scaling.h index 0d75f71..115ba67 100644 --- a/utgard/platform/meson_m450/mali_scaling.h +++ b/utgard/platform/meson_m450/mali_scaling.h @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/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/utgard/platform/meson_m450/meson_main.c b/utgard/platform/meson_m450/meson_main.c index 9a550a6..6540e74 100644 --- a/utgard/platform/meson_m450/meson_main.c +++ b/utgard/platform/meson_m450/meson_main.c @@ -1,11 +1,18 @@ /* - * Copyright (C) 2010, 2012-2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/meson_main.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. */ #include diff --git a/utgard/platform/meson_m450/meson_main.h b/utgard/platform/meson_m450/meson_main.h index a67441f..3255182 100644 --- a/utgard/platform/meson_m450/meson_main.h +++ b/utgard/platform/meson_m450/meson_main.h @@ -1,8 +1,18 @@ /* - * mali_platform.h + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/meson_main.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/utgard/platform/meson_m450/mpgpu.c b/utgard/platform/meson_m450/mpgpu.c index cc5b604..22dc35a 100644 --- a/utgard/platform/meson_m450/mpgpu.c +++ b/utgard/platform/meson_m450/mpgpu.c @@ -1,13 +1,20 @@ -/******************************************************************* +/* + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/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/utgard/platform/meson_m450/platform_m6tvd.c b/utgard/platform/meson_m450/platform_m6tvd.c index 58b3090..440c802 100644 --- a/utgard/platform/meson_m450/platform_m6tvd.c +++ b/utgard/platform/meson_m450/platform_m6tvd.c @@ -1,10 +1,18 @@ /* - * platform.c + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/platform_m6tvd.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/utgard/platform/meson_m450/platform_m8.c b/utgard/platform/meson_m450/platform_m8.c index 9eaad3e..9f37212 100644 --- a/utgard/platform/meson_m450/platform_m8.c +++ b/utgard/platform/meson_m450/platform_m8.c @@ -1,10 +1,18 @@ /* - * platform.c + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/platform_m8.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/utgard/platform/meson_m450/platform_m8b.c b/utgard/platform/meson_m450/platform_m8b.c index 99d86b8..c3ba5ee 100644 --- a/utgard/platform/meson_m450/platform_m8b.c +++ b/utgard/platform/meson_m450/platform_m8b.c @@ -1,10 +1,18 @@ /* - * platform.c + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/platform_m8b.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/utgard/platform/meson_m450/scaling.c b/utgard/platform/meson_m450/scaling.c index 8a30346..404438d 100644 --- a/utgard/platform/meson_m450/scaling.c +++ b/utgard/platform/meson_m450/scaling.c @@ -1,11 +1,18 @@ /* - * Copyright (C) 2013 ARM Limited. All rights reserved. + * ../vendor/amlogic/common/gpu/utgard/platform/meson_m450/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. */ /**