summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/acr_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/bus_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/bus_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/cde_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/cde_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.c24
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.h25
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.c25
-rw-r--r--drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h25
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c25
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.h24
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/ltc_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/mm_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/mm_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/pmu_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/pmu_gm20b.h23
-rw-r--r--drivers/gpu/nvgpu/gm20b/regops_gm20b.c24
-rw-r--r--drivers/gpu/nvgpu/gm20b/regops_gm20b.h24
-rw-r--r--drivers/gpu/nvgpu/gm20b/therm_gm20b.c23
-rw-r--r--drivers/gpu/nvgpu/gm20b/therm_gm20b.h23
30 files changed, 472 insertions, 230 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
index 649e32bb..b6941ada 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c
@@ -1,14 +1,23 @@
1/* 1/*
2 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * under the terms and conditions of the GNU General Public License, 5 * copy of this software and associated documentation files (the "Software"),
6 * version 2, as published by the Free Software Foundation. 6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
7 * 10 *
8 * This program is distributed in the hope it will be useful, but WITHOUT 11 * The above copyright notice and this permission notice shall be included in
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * all copies or substantial portions of the Software.
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 *
11 * more details. 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
12 */ 21 */
13 22
14#include <nvgpu/types.h> 23#include <nvgpu/types.h>
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.h b/drivers/gpu/nvgpu/gm20b/acr_gm20b.h
index 6568d62f..9d261aae 100644
--- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef __ACR_GM20B_H_ 25#ifndef __ACR_GM20B_H_
diff --git a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
index 0da19db8..b8d42f7a 100644
--- a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include <nvgpu/timers.h> 25#include <nvgpu/timers.h>
diff --git a/drivers/gpu/nvgpu/gm20b/bus_gm20b.h b/drivers/gpu/nvgpu/gm20b/bus_gm20b.h
index ad3f72ac..961b906a 100644
--- a/drivers/gpu/nvgpu/gm20b/bus_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/bus_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVGPU_GM20B_BUS 25#ifndef _NVGPU_GM20B_BUS
diff --git a/drivers/gpu/nvgpu/gm20b/cde_gm20b.c b/drivers/gpu/nvgpu/gm20b/cde_gm20b.c
index de7cf872..f22e5126 100644
--- a/drivers/gpu/nvgpu/gm20b/cde_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/cde_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/cde_gm20b.h b/drivers/gpu/nvgpu/gm20b/cde_gm20b.h
index 0ea423ad..dfd67d62 100644
--- a/drivers/gpu/nvgpu/gm20b/cde_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/cde_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_CDE 25#ifndef _NVHOST_GM20B_CDE
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
index a13f943a..a74209cf 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
@@ -3,17 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 * 15 *
15 * You should have received a copy of the GNU General Public License 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
17 */ 23 */
18 24
19#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
index 07e0d04d..daa0bb0b 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
@@ -3,18 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 * 15 *
15 * You should have received a copy of the GNU General Public License along with 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * this program; if not, write to the Free Software Foundation, Inc., 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
18 */ 23 */
19#ifndef _NVHOST_CLK_GM20B_H_ 24#ifndef _NVHOST_CLK_GM20B_H_
20#define _NVHOST_CLK_GM20B_H_ 25#define _NVHOST_CLK_GM20B_H_
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
index 8f124eec..d23c4787 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5* 5*
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.h b/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
index 690eb6a2..1bc0c14c 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_FB 25#ifndef _NVHOST_GM20B_FB
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index 6b462acd..d6429871 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.h b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.h
index f82ae09b..8d487358 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_FIFO 25#ifndef _NVHOST_GM20B_FIFO
diff --git a/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.c b/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.c
index 1519ea70..ca67c80a 100644
--- a/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.c
+++ b/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.c
@@ -1,18 +1,23 @@
1/* 1/*
2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * it under the terms of the GNU General Public License as published by 5 * copy of this software and associated documentation files (the "Software"),
6 * the Free Software Foundation; either version 2 of the License. 6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
7 * 10 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT 11 * The above copyright notice and this permission notice shall be included in
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * all copies or substantial portions of the Software.
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 * 13 *
13 * You should have received a copy of the GNU General Public License along 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 * with this program; if not, write to the Free Software Foundation, Inc., 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
16 * 21 *
17 * This file is autogenerated. Do not edit. 22 * This file is autogenerated. Do not edit.
18 */ 23 */
diff --git a/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h b/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h
index 7cdd708d..557f5689 100644
--- a/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h
+++ b/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h
@@ -3,18 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2015, NVIDIA Corporation. All rights reserved. 4 * Copyright (c) 2014-2015, NVIDIA Corporation. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * it under the terms of the GNU General Public License as published by 7 * copy of this software and associated documentation files (the "Software"),
8 * the Free Software Foundation; either version 2 of the License. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 * 15 *
15 * You should have received a copy of the GNU General Public License along 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
18 * 23 *
19 * This file is autogenerated. Do not edit. 24 * This file is autogenerated. Do not edit.
20 */ 25 */
diff --git a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
index 555c1409..cd7433b3 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.c
@@ -5,18 +5,23 @@
5 * 5 *
6 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 6 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * under the terms and conditions of the GNU General Public License, 9 * copy of this software and associated documentation files (the "Software"),
10 * version 2, as published by the Free Software Foundation. 10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
11 * 14 *
12 * This program is distributed in the hope it will be useful, but WITHOUT 15 * The above copyright notice and this permission notice shall be included in
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16 * all copies or substantial portions of the Software.
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 * 17 *
17 * You should have received a copy of the GNU General Public License along with 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * this program; if not, write to the Free Software Foundation, Inc., 19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 * DEALINGS IN THE SOFTWARE.
20 */ 25 */
21 26
22#include "gk20a/gk20a.h" 27#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.h
index 414634da..8712b353 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_ctx_gm20b.h
@@ -3,17 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 * 15 *
15 * You should have received a copy of the GNU General Public License 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
17 */ 23 */
18#ifndef __GR_CTX_GM20B_H__ 24#ifndef __GR_CTX_GM20B_H__
19#define __GR_CTX_GM20B_H__ 25#define __GR_CTX_GM20B_H__
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index 30991102..05c6dc5f 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include <dt-bindings/soc/gm20b-fuse.h> 25#include <dt-bindings/soc/gm20b-fuse.h>
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
index f81aa728..c7a84b0a 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_GR_MMU_H 25#ifndef _NVHOST_GM20B_GR_MMU_H
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 298d4f2b..ceef80bf 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.h b/drivers/gpu/nvgpu/gm20b/hal_gm20b.h
index 2416876d..1e149ce2 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_HAL_GM20B_H 25#ifndef _NVHOST_HAL_GM20B_H
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
index b96f0b5c..9304f90e 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017 NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017 NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include <trace/events/gk20a.h> 25#include <trace/events/gk20a.h>
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h
index bfd501d6..0f9145be 100644
--- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_LTC 25#ifndef _NVHOST_GM20B_LTC
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
index 05752f03..dc332075 100644
--- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
index b1bb38a3..602e18dc 100644
--- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef _NVHOST_GM20B_MM 25#ifndef _NVHOST_GM20B_MM
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
index 99241a53..664134f9 100644
--- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5* 5*
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include <nvgpu/timers.h> 25#include <nvgpu/timers.h>
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h
index ed3a8700..ec50fb06 100644
--- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#ifndef __PMU_GM20B_H_ 25#ifndef __PMU_GM20B_H_
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
index 1e5f6bfd..79c980f4 100644
--- a/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.c
@@ -3,17 +3,23 @@
3 * 3 *
4 * Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 * 15 *
15 * You should have received a copy of the GNU General Public License 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
17 */ 23 */
18 24
19#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/regops_gm20b.h b/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
index 4a40184b..f0246e0e 100644
--- a/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/regops_gm20b.h
@@ -4,17 +4,23 @@
4 * 4 *
5 * Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. 5 * Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved.
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify it 7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * under the terms and conditions of the GNU General Public License, 8 * copy of this software and associated documentation files (the "Software"),
9 * version 2, as published by the Free Software Foundation. 9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
10 * 13 *
11 * This program is distributed in the hope it will be useful, but WITHOUT 14 * The above copyright notice and this permission notice shall be included in
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * all copies or substantial portions of the Software.
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 * 16 *
16 * You should have received a copy of the GNU General Public License 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
18 */ 24 */
19#ifndef __REGOPS_GM20B_H_ 25#ifndef __REGOPS_GM20B_H_
20#define __REGOPS_GM20B_H_ 26#define __REGOPS_GM20B_H_
diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
index a999151f..ce4d4fab 100644
--- a/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.c
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15 24
16#include "gk20a/gk20a.h" 25#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/therm_gm20b.h b/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
index 65147a64..df0b4219 100644
--- a/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/therm_gm20b.h
@@ -3,14 +3,23 @@
3 * 3 *
4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * under the terms and conditions of the GNU General Public License, 7 * copy of this software and associated documentation files (the "Software"),
8 * version 2, as published by the Free Software Foundation. 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
9 * 12 *
10 * This program is distributed in the hope it will be useful, but WITHOUT 13 * The above copyright notice and this permission notice shall be included in
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 * all copies or substantial portions of the Software.
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 *
13 * more details. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
14 */ 23 */
15#ifndef THERM_GM20B_H 24#ifndef THERM_GM20B_H
16#define THERM_GM20B_H 25#define THERM_GM20B_H