summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-02-06 06:19:24 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-02-10 12:43:46 -0500
commit3885fe099af0bda910ac8ee64f2cd1a5bbea3ab0 (patch)
tree602ead38e7631ce81db7e600802fdac0aba49974 /drivers
parent8da422ac577338ecb2d4114e1d8d5f36cf4cab78 (diff)
gpu: nvgpu: move pmuif/* to drivers/gpu/nvgpu/include/nvgpu
Moved pmuif/* headers to drivers/gpu/nvgpu/include/nvgpu folder to support cross platform feature implementation. Made changes to files which accessed “include pmuif/*” to reflect pmuif/* movement changes. Deleted includes of gk20a.h/pmu_gk20a.h from pmuif/*.h files. Jira NVGPU-19 Change-Id: Iace4e107c24bdaff08a407eae3b147959173e485 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1299823 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobj.c4
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobj.h4
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp.h3
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c3
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c3
-rw-r--r--drivers/gpu/nvgpu/clk/clk.c5
-rw-r--r--drivers/gpu/nvgpu/clk/clk_domain.c4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_domain.h4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_fll.c4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_fll.h4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_freq_controller.c4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_mclk.c6
-rw-r--r--drivers/gpu/nvgpu/clk/clk_prog.c2
-rw-r--r--drivers/gpu/nvgpu/clk/clk_prog.h4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_vf_point.c4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_vf_point.h4
-rw-r--r--drivers/gpu/nvgpu/clk/clk_vin.c3
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.h2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_acr.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_ap.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_ap.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_cmn.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_cmn.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_perfmon.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_perfmon.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_pg.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg_rppg.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_pg_rppg.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuif_pmu.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifbios.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifbios.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifboardobj.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifboardobj.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifclk.h)4
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperf.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifperf.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperfvfe.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifperfvfe.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifpmgr.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifpmgr.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifseq.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifseq.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuiftherm.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuiftherm.h)0
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifthermsensor.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifthermsensor.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifvolt.h (renamed from drivers/gpu/nvgpu/pmuif/gpmuifvolt.h)2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pmuif/nvgpu_gpmu_cmdif.h (renamed from drivers/gpu/nvgpu/pmuif/nvgpu_gpmu_cmdif.h)3
-rw-r--r--drivers/gpu/nvgpu/lpwr/rppg.c2
-rw-r--r--drivers/gpu/nvgpu/perf/perf.c4
-rw-r--r--drivers/gpu/nvgpu/perf/perf.h3
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_equ.c5
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_equ.h5
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_var.c3
-rw-r--r--drivers/gpu/nvgpu/perf/vfe_var.h5
-rw-r--r--drivers/gpu/nvgpu/pmgr/pmgrpmu.c5
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrdev.c4
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrdev.h4
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrmonitor.c4
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrmonitor.h4
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrpolicy.c2
-rw-r--r--drivers/gpu/nvgpu/pmgr/pwrpolicy.h4
-rw-r--r--drivers/gpu/nvgpu/therm/thrmchannel.c5
-rw-r--r--drivers/gpu/nvgpu/therm/thrmdev.c5
-rw-r--r--drivers/gpu/nvgpu/therm/thrmpmu.c5
-rw-r--r--drivers/gpu/nvgpu/volt/volt_dev.c5
-rw-r--r--drivers/gpu/nvgpu/volt/volt_pmu.c6
-rw-r--r--drivers/gpu/nvgpu/volt/volt_policy.c5
-rw-r--r--drivers/gpu/nvgpu/volt/volt_rail.c5
57 files changed, 69 insertions, 109 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobj.c b/drivers/gpu/nvgpu/boardobj/boardobj.c
index 6cd3e2b1..0fa8f6b6 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobj.c
+++ b/drivers/gpu/nvgpu/boardobj/boardobj.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,8 +17,6 @@
17#include <linux/uaccess.h> 17#include <linux/uaccess.h>
18#include "boardobj.h" 18#include "boardobj.h"
19#include "ctrl/ctrlboardobj.h" 19#include "ctrl/ctrlboardobj.h"
20#include "pmuif/gpmuifboardobj.h"
21
22 20
23u32 boardobj_construct_super(struct gk20a *g, struct boardobj **ppboardobj, 21u32 boardobj_construct_super(struct gk20a *g, struct boardobj **ppboardobj,
24 u16 size, void *args) 22 u16 size, void *args)
diff --git a/drivers/gpu/nvgpu/boardobj/boardobj.h b/drivers/gpu/nvgpu/boardobj/boardobj.h
index 3d437a82..138b3acc 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobj.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobj.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -20,7 +20,7 @@ struct boardobj;
20#include "gk20a/gk20a.h" 20#include "gk20a/gk20a.h"
21#include "gk20a/pmu_gk20a.h" 21#include "gk20a/pmu_gk20a.h"
22#include "ctrl/ctrlboardobj.h" 22#include "ctrl/ctrlboardobj.h"
23#include "pmuif/gpmuifboardobj.h" 23#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
24 24
25/* 25/*
26* check whether the specified BOARDOBJ object implements the queried 26* check whether the specified BOARDOBJ object implements the queried
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
index 303c9288..f41ae48e 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -23,7 +23,6 @@ struct boardobjgrp;
23#include "ctrl/ctrlboardobj.h" 23#include "ctrl/ctrlboardobj.h"
24#include "boardobj.h" 24#include "boardobj.h"
25#include "boardobjgrpmask.h" 25#include "boardobjgrpmask.h"
26#include "pmuif/gpmuifboardobj.h"
27 26
28/* 27/*
29* Board Object Group destructor. 28* Board Object Group destructor.
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c
index a56dca9b..2510f636 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -15,7 +15,6 @@
15#include "boardobj.h" 15#include "boardobj.h"
16#include "boardobjgrp_e255.h" 16#include "boardobjgrp_e255.h"
17#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
18#include "pmuif/gpmuifboardobj.h"
19#include "boardobjgrp.h" 18#include "boardobjgrp.h"
20#include "boardobjgrpmask.h" 19#include "boardobjgrpmask.h"
21 20
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c
index 95610aba..70b3c8f0 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -16,7 +16,6 @@
16#include "boardobjgrp.h" 16#include "boardobjgrp.h"
17#include "boardobjgrp_e32.h" 17#include "boardobjgrp_e32.h"
18#include "ctrl/ctrlboardobj.h" 18#include "ctrl/ctrlboardobj.h"
19#include "pmuif/gpmuifboardobj.h"
20#include "boardobjgrpmask.h" 19#include "boardobjgrpmask.h"
21 20
22 21
diff --git a/drivers/gpu/nvgpu/clk/clk.c b/drivers/gpu/nvgpu/clk/clk.c
index ecd53c02..e809b5e9 100644
--- a/drivers/gpu/nvgpu/clk/clk.c
+++ b/drivers/gpu/nvgpu/clk/clk.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -13,8 +13,7 @@
13 13
14#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
15#include "clk.h" 15#include "clk.h"
16#include "pmuif/gpmuifclk.h" 16#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
17#include "pmuif/gpmuifvolt.h"
18#include "ctrl/ctrlclk.h" 17#include "ctrl/ctrlclk.h"
19#include "ctrl/ctrlvolt.h" 18#include "ctrl/ctrlvolt.h"
20#include "volt/volt.h" 19#include "volt/volt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_domain.c b/drivers/gpu/nvgpu/clk/clk_domain.c
index 892437de..b53d3708 100644
--- a/drivers/gpu/nvgpu/clk/clk_domain.c
+++ b/drivers/gpu/nvgpu/clk/clk_domain.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -18,8 +18,6 @@
18#include "include/bios.h" 18#include "include/bios.h"
19#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
20#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
21#include "pmuif/gpmuifboardobj.h"
22#include "pmuif/gpmuifclk.h"
23#include "gm206/bios_gm206.h" 21#include "gm206/bios_gm206.h"
24#include "ctrl/ctrlclk.h" 22#include "ctrl/ctrlclk.h"
25#include "ctrl/ctrlvolt.h" 23#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_domain.h b/drivers/gpu/nvgpu/clk/clk_domain.h
index 443e1c4c..532b7ca5 100644
--- a/drivers/gpu/nvgpu/clk/clk_domain.h
+++ b/drivers/gpu/nvgpu/clk/clk_domain.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -16,7 +16,7 @@
16 16
17#include "ctrl/ctrlclk.h" 17#include "ctrl/ctrlclk.h"
18#include "ctrl/ctrlboardobj.h" 18#include "ctrl/ctrlboardobj.h"
19#include "pmuif/gpmuifclk.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
20#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
21#include "boardobj/boardobjgrpmask.h" 21#include "boardobj/boardobjgrpmask.h"
22 22
diff --git a/drivers/gpu/nvgpu/clk/clk_fll.c b/drivers/gpu/nvgpu/clk/clk_fll.c
index d83f3e15..91cd0e20 100644
--- a/drivers/gpu/nvgpu/clk/clk_fll.c
+++ b/drivers/gpu/nvgpu/clk/clk_fll.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,8 +17,6 @@
17#include "include/bios.h" 17#include "include/bios.h"
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "pmuif/gpmuifboardobj.h"
21#include "pmuif/gpmuifclk.h"
22#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
23#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
24#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_fll.h b/drivers/gpu/nvgpu/clk/clk_fll.h
index 06872f48..89415b4b 100644
--- a/drivers/gpu/nvgpu/clk/clk_fll.h
+++ b/drivers/gpu/nvgpu/clk/clk_fll.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -14,7 +14,7 @@
14#ifndef _CLKFLL_H_ 14#ifndef _CLKFLL_H_
15#define _CLKFLL_H_ 15#define _CLKFLL_H_
16 16
17#include "pmuif/gpmuifclk.h" 17#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "boardobj/boardobjgrpmask.h" 19#include "boardobj/boardobjgrpmask.h"
20 20
diff --git a/drivers/gpu/nvgpu/clk/clk_freq_controller.c b/drivers/gpu/nvgpu/clk/clk_freq_controller.c
index 17f79168..6fa2db5a 100644
--- a/drivers/gpu/nvgpu/clk/clk_freq_controller.c
+++ b/drivers/gpu/nvgpu/clk/clk_freq_controller.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -19,8 +19,6 @@
19#include "include/bios.h" 19#include "include/bios.h"
20#include "boardobj/boardobjgrp.h" 20#include "boardobj/boardobjgrp.h"
21#include "boardobj/boardobjgrp_e32.h" 21#include "boardobj/boardobjgrp_e32.h"
22#include "pmuif/gpmuifboardobj.h"
23#include "pmuif/gpmuifclk.h"
24#include "gm206/bios_gm206.h" 22#include "gm206/bios_gm206.h"
25#include "ctrl/ctrlclk.h" 23#include "ctrl/ctrlclk.h"
26#include "ctrl/ctrlvolt.h" 24#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.c b/drivers/gpu/nvgpu/clk/clk_mclk.c
index 0f191b6f..479fbb0e 100644
--- a/drivers/gpu/nvgpu/clk/clk_mclk.c
+++ b/drivers/gpu/nvgpu/clk/clk_mclk.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,9 +15,7 @@
15 15
16#include "gk20a/gk20a.h" 16#include "gk20a/gk20a.h"
17#include "gk20a/pmu_gk20a.h" 17#include "gk20a/pmu_gk20a.h"
18 18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
19#include "pmuif/gpmuifseq.h"
20
21#include "gm206/bios_gm206.h" 19#include "gm206/bios_gm206.h"
22 20
23#include "include/bios.h" 21#include "include/bios.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_prog.c b/drivers/gpu/nvgpu/clk/clk_prog.c
index 4135f767..38654b66 100644
--- a/drivers/gpu/nvgpu/clk/clk_prog.c
+++ b/drivers/gpu/nvgpu/clk/clk_prog.c
@@ -18,8 +18,6 @@
18#include "include/bios.h" 18#include "include/bios.h"
19#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
20#include "boardobj/boardobjgrp_e32.h" 20#include "boardobj/boardobjgrp_e32.h"
21#include "pmuif/gpmuifboardobj.h"
22#include "pmuif/gpmuifclk.h"
23#include "gm206/bios_gm206.h" 21#include "gm206/bios_gm206.h"
24#include "ctrl/ctrlclk.h" 22#include "ctrl/ctrlclk.h"
25#include "ctrl/ctrlvolt.h" 23#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_prog.h b/drivers/gpu/nvgpu/clk/clk_prog.h
index 541f04cb..e392870b 100644
--- a/drivers/gpu/nvgpu/clk/clk_prog.h
+++ b/drivers/gpu/nvgpu/clk/clk_prog.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -15,7 +15,7 @@
15#define _CLKPROG_H_ 15#define _CLKPROG_H_
16#include "ctrl/ctrlclk.h" 16#include "ctrl/ctrlclk.h"
17#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
18#include "pmuif/gpmuifclk.h" 18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "boardobj/boardobjgrp_e255.h" 20#include "boardobj/boardobjgrp_e255.h"
21#include "boardobj/boardobjgrpmask.h" 21#include "boardobj/boardobjgrpmask.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_vf_point.c b/drivers/gpu/nvgpu/clk/clk_vf_point.c
index 4fde7226..58eeb6c2 100644
--- a/drivers/gpu/nvgpu/clk/clk_vf_point.c
+++ b/drivers/gpu/nvgpu/clk/clk_vf_point.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,8 +17,6 @@
17#include "include/bios.h" 17#include "include/bios.h"
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "pmuif/gpmuifboardobj.h"
21#include "pmuif/gpmuifclk.h"
22#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
23#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
24#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/clk/clk_vf_point.h b/drivers/gpu/nvgpu/clk/clk_vf_point.h
index 15920066..8c4fdecd 100644
--- a/drivers/gpu/nvgpu/clk/clk_vf_point.h
+++ b/drivers/gpu/nvgpu/clk/clk_vf_point.h
@@ -1,5 +1,5 @@
1/* 1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2* Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3* 3*
4* This program is free software; you can redistribute it and/or modify it 4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License, 5* under the terms and conditions of the GNU General Public License,
@@ -15,7 +15,7 @@
15#define _CLKVFPOINT_H_ 15#define _CLKVFPOINT_H_
16#include "ctrl/ctrlclk.h" 16#include "ctrl/ctrlclk.h"
17#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
18#include "pmuif/gpmuifclk.h" 18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "boardobj/boardobjgrpmask.h" 20#include "boardobj/boardobjgrpmask.h"
21 21
diff --git a/drivers/gpu/nvgpu/clk/clk_vin.c b/drivers/gpu/nvgpu/clk/clk_vin.c
index 1ababe55..13358335 100644
--- a/drivers/gpu/nvgpu/clk/clk_vin.c
+++ b/drivers/gpu/nvgpu/clk/clk_vin.c
@@ -18,8 +18,7 @@
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20 20
21#include "pmuif/gpmuifboardobj.h" 21#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
22#include "pmuif/gpmuifclk.h"
23 22
24#include "ctrl/ctrlvolt.h" 23#include "ctrl/ctrlvolt.h"
25 24
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
index 47c2a4b3..e4513457 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.h
@@ -23,7 +23,7 @@
23 23
24#include <linux/version.h> 24#include <linux/version.h>
25#include <nvgpu/flcnif_cmn.h> 25#include <nvgpu/flcnif_cmn.h>
26#include "pmuif/nvgpu_gpmu_cmdif.h" 26#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
27 27
28/* defined by pmu hw spec */ 28/* defined by pmu hw spec */
29#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024) 29#define GK20A_PMU_VA_SIZE (512 * 1024 * 1024)
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_acr.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h
index 440ffbaa..440ffbaa 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_acr.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_acr.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_ap.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_ap.h
index 7e2f546c..7e2f546c 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_ap.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_ap.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_cmn.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_cmn.h
index 1d200129..1d200129 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_cmn.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_cmn.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_perfmon.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_perfmon.h
index 098d0305..098d0305 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_perfmon.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_perfmon.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_pg.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg.h
index 8c71e2a2..8c71e2a2 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_pg.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_pg_rppg.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg_rppg.h
index 7d5c8d41..d2f23011 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_pg_rppg.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pg_rppg.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuif_pmu.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h
index 6df92c1d..6df92c1d 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuif_pmu.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuif_pmu.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifbios.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifbios.h
index 2581d3fa..eaa44bc2 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifbios.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifbios.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifboardobj.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifboardobj.h
index 8da31469..8da31469 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifboardobj.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifboardobj.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifclk.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h
index 5747b0df..c080197f 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifclk.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifclk.h
@@ -18,8 +18,8 @@
18#include "ctrl/ctrlvolt.h" 18#include "ctrl/ctrlvolt.h"
19#include "ctrl/ctrlperf.h" 19#include "ctrl/ctrlperf.h"
20#include "ctrl/ctrlclk.h" 20#include "ctrl/ctrlclk.h"
21#include "pmuif/gpmuifboardobj.h" 21#include "gpmuifboardobj.h"
22#include "pmuif/gpmuifvolt.h" 22#include "gpmuifvolt.h"
23#include <nvgpu/flcnif_cmn.h> 23#include <nvgpu/flcnif_cmn.h>
24 24
25enum nv_pmu_clk_clkwhich { 25enum nv_pmu_clk_clkwhich {
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifperf.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperf.h
index 181a65f5..9a9a92be 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifperf.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperf.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifperfvfe.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperfvfe.h
index 6bad6445..5f5cafbf 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifperfvfe.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifperfvfe.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifpmgr.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifpmgr.h
index b6842fb7..f956ab76 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifpmgr.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifpmgr.h
@@ -15,7 +15,7 @@
15#define _GPMUIFPMGR_H_ 15#define _GPMUIFPMGR_H_
16 16
17#include "ctrl/ctrlpmgr.h" 17#include "ctrl/ctrlpmgr.h"
18#include "pmuif/gpmuifboardobj.h" 18#include "gpmuifboardobj.h"
19#include <nvgpu/flcnif_cmn.h> 19#include <nvgpu/flcnif_cmn.h>
20 20
21struct nv_pmu_pmgr_i2c_device_desc { 21struct nv_pmu_pmgr_i2c_device_desc {
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifseq.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifseq.h
index 2927206f..2927206f 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifseq.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifseq.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuiftherm.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuiftherm.h
index 27e811ff..27e811ff 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuiftherm.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuiftherm.h
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifthermsensor.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifthermsensor.h
index bc2b4f52..d240b344 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifthermsensor.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifthermsensor.h
@@ -15,7 +15,7 @@
15#define _GPMUIFTHERMSENSOR_H_ 15#define _GPMUIFTHERMSENSOR_H_
16 16
17#include "ctrl/ctrltherm.h" 17#include "ctrl/ctrltherm.h"
18#include "pmuif/gpmuifboardobj.h" 18#include "gpmuifboardobj.h"
19#include <nvgpu/flcnif_cmn.h> 19#include <nvgpu/flcnif_cmn.h>
20 20
21#define NV_PMU_THERM_BOARDOBJGRP_CLASS_ID_THERM_DEVICE 0x00 21#define NV_PMU_THERM_BOARDOBJGRP_CLASS_ID_THERM_DEVICE 0x00
diff --git a/drivers/gpu/nvgpu/pmuif/gpmuifvolt.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifvolt.h
index b4dea724..7a18caa6 100644
--- a/drivers/gpu/nvgpu/pmuif/gpmuifvolt.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/gpmuifvolt.h
@@ -13,7 +13,7 @@
13#ifndef _GPMUIFVOLT_H_ 13#ifndef _GPMUIFVOLT_H_
14#define _GPMUIFVOLT_H_ 14#define _GPMUIFVOLT_H_
15 15
16#include "pmuif/gpmuifboardobj.h" 16#include "gpmuifboardobj.h"
17#include <nvgpu/flcnif_cmn.h> 17#include <nvgpu/flcnif_cmn.h>
18#include "ctrl/ctrlvolt.h" 18#include "ctrl/ctrlvolt.h"
19 19
diff --git a/drivers/gpu/nvgpu/pmuif/nvgpu_gpmu_cmdif.h b/drivers/gpu/nvgpu/include/nvgpu/pmuif/nvgpu_gpmu_cmdif.h
index 91175c69..01cd2743 100644
--- a/drivers/gpu/nvgpu/pmuif/nvgpu_gpmu_cmdif.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pmuif/nvgpu_gpmu_cmdif.h
@@ -23,9 +23,12 @@
23#include "gpmuifboardobj.h" 23#include "gpmuifboardobj.h"
24#include "gpmuifclk.h" 24#include "gpmuifclk.h"
25#include "gpmuifperf.h" 25#include "gpmuifperf.h"
26#include "gpmuifperfvfe.h"
26#include "gpmuifpmgr.h" 27#include "gpmuifpmgr.h"
27#include "gpmuifvolt.h" 28#include "gpmuifvolt.h"
28#include "gpmuiftherm.h" 29#include "gpmuiftherm.h"
30#include "gpmuifthermsensor.h"
31#include "gpmuifseq.h"
29 32
30struct pmu_cmd { 33struct pmu_cmd {
31 struct pmu_hdr hdr; 34 struct pmu_hdr hdr;
diff --git a/drivers/gpu/nvgpu/lpwr/rppg.c b/drivers/gpu/nvgpu/lpwr/rppg.c
index cde57bf0..3cc12840 100644
--- a/drivers/gpu/nvgpu/lpwr/rppg.c
+++ b/drivers/gpu/nvgpu/lpwr/rppg.c
@@ -17,7 +17,7 @@
17#include "gm206/bios_gm206.h" 17#include "gm206/bios_gm206.h"
18#include "pstate/pstate.h" 18#include "pstate/pstate.h"
19#include "include/bios.h" 19#include "include/bios.h"
20#include "pmuif/gpmuif_pg_rppg.h" 20#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
21 21
22static void pmu_handle_rppg_init_msg(struct gk20a *g, struct pmu_msg *msg, 22static void pmu_handle_rppg_init_msg(struct gk20a *g, struct pmu_msg *msg,
23 void *param, u32 handle, u32 status) 23 void *param, u32 handle, u32 status)
diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c
index 41ebb315..58efdd6c 100644
--- a/drivers/gpu/nvgpu/perf/perf.c
+++ b/drivers/gpu/nvgpu/perf/perf.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -13,8 +13,6 @@
13 13
14#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
15#include "perf.h" 15#include "perf.h"
16#include "pmuif/gpmuifperf.h"
17#include "pmuif/gpmuifperfvfe.h"
18#include "gk20a/pmu_gk20a.h" 16#include "gk20a/pmu_gk20a.h"
19#include "clk/clk_arb.h" 17#include "clk/clk_arb.h"
20 18
diff --git a/drivers/gpu/nvgpu/perf/perf.h b/drivers/gpu/nvgpu/perf/perf.h
index fe52bad9..ef15d240 100644
--- a/drivers/gpu/nvgpu/perf/perf.h
+++ b/drivers/gpu/nvgpu/perf/perf.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -13,6 +13,7 @@
13#ifndef _PERF_H_ 13#ifndef _PERF_H_
14#define _PERF_H_ 14#define _PERF_H_
15 15
16#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
16#include "vfe_equ.h" 17#include "vfe_equ.h"
17#include "vfe_var.h" 18#include "vfe_var.h"
18#include "pstate/pstate.h" 19#include "pstate/pstate.h"
diff --git a/drivers/gpu/nvgpu/perf/vfe_equ.c b/drivers/gpu/nvgpu/perf/vfe_equ.c
index 78a7c57c..3a5b9f45 100644
--- a/drivers/gpu/nvgpu/perf/vfe_equ.c
+++ b/drivers/gpu/nvgpu/perf/vfe_equ.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,9 +17,6 @@
17#include "include/bios.h" 17#include "include/bios.h"
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e255.h" 19#include "boardobj/boardobjgrp_e255.h"
20#include "pmuif/gpmuifboardobj.h"
21#include "pmuif/gpmuifperf.h"
22#include "pmuif/gpmuifperfvfe.h"
23#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
24#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
25#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/perf/vfe_equ.h b/drivers/gpu/nvgpu/perf/vfe_equ.h
index 8aaddccd..3ca7fb10 100644
--- a/drivers/gpu/nvgpu/perf/vfe_equ.h
+++ b/drivers/gpu/nvgpu/perf/vfe_equ.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general perf structures & definitions 2 * general perf structures & definitions
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -17,8 +17,7 @@
17 17
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "perf/vfe_var.h" 19#include "perf/vfe_var.h"
20#include "pmuif/gpmuifperf.h" 20#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
21#include "pmuif/gpmuifperfvfe.h"
22 21
23u32 vfe_equ_sw_setup(struct gk20a *g); 22u32 vfe_equ_sw_setup(struct gk20a *g);
24u32 vfe_equ_pmu_setup(struct gk20a *g); 23u32 vfe_equ_pmu_setup(struct gk20a *g);
diff --git a/drivers/gpu/nvgpu/perf/vfe_var.c b/drivers/gpu/nvgpu/perf/vfe_var.c
index 35061a1f..d1e1d76c 100644
--- a/drivers/gpu/nvgpu/perf/vfe_var.c
+++ b/drivers/gpu/nvgpu/perf/vfe_var.c
@@ -17,9 +17,6 @@
17#include "include/bios.h" 17#include "include/bios.h"
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "pmuif/gpmuifboardobj.h"
21#include "pmuif/gpmuifperf.h"
22#include "pmuif/gpmuifperfvfe.h"
23#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
24#include "ctrl/ctrlclk.h" 21#include "ctrl/ctrlclk.h"
25#include "ctrl/ctrlvolt.h" 22#include "ctrl/ctrlvolt.h"
diff --git a/drivers/gpu/nvgpu/perf/vfe_var.h b/drivers/gpu/nvgpu/perf/vfe_var.h
index fc43311b..41db6e22 100644
--- a/drivers/gpu/nvgpu/perf/vfe_var.h
+++ b/drivers/gpu/nvgpu/perf/vfe_var.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,8 +15,7 @@
15#define _VFE_VAR_H_ 15#define _VFE_VAR_H_
16 16
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "pmuif/gpmuifperf.h" 18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
19#include "pmuif/gpmuifperfvfe.h"
20 19
21u32 vfe_var_sw_setup(struct gk20a *g); 20u32 vfe_var_sw_setup(struct gk20a *g);
22u32 vfe_var_pmu_setup(struct gk20a *g); 21u32 vfe_var_pmu_setup(struct gk20a *g);
diff --git a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
index ea070060..53241734 100644
--- a/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
+++ b/drivers/gpu/nvgpu/pmgr/pmgrpmu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,8 +16,7 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
20#include "pmuif/gpmuifpmgr.h"
21#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 21#include "gk20a/pmu_gk20a.h"
23#include "pmgrpmu.h" 22#include "pmgrpmu.h"
diff --git a/drivers/gpu/nvgpu/pmgr/pwrdev.c b/drivers/gpu/nvgpu/pmgr/pwrdev.c
index da034b31..e831126b 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrdev.c
+++ b/drivers/gpu/nvgpu/pmgr/pwrdev.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,8 +16,6 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h"
20#include "pmuif/gpmuifpmgr.h"
21#include "gm206/bios_gm206.h" 19#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"
23 21
diff --git a/drivers/gpu/nvgpu/pmgr/pwrdev.h b/drivers/gpu/nvgpu/pmgr/pwrdev.h
index b8592a18..144113e2 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrdev.h
+++ b/drivers/gpu/nvgpu/pmgr/pwrdev.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general power device structures & definitions 2 * general power device structures & definitions
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -16,7 +16,7 @@
16#define _PWRDEV_H_ 16#define _PWRDEV_H_
17 17
18#include "boardobj/boardobj.h" 18#include "boardobj/boardobj.h"
19#include "pmuif/gpmuifpmgr.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
20#include "ctrl/ctrlpmgr.h" 20#include "ctrl/ctrlpmgr.h"
21 21
22#define PWRDEV_I2CDEV_DEVICE_INDEX_NONE (0xFF) 22#define PWRDEV_I2CDEV_DEVICE_INDEX_NONE (0xFF)
diff --git a/drivers/gpu/nvgpu/pmgr/pwrmonitor.c b/drivers/gpu/nvgpu/pmgr/pwrmonitor.c
index f14bac07..ab2460eb 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrmonitor.c
+++ b/drivers/gpu/nvgpu/pmgr/pwrmonitor.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,8 +16,6 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h"
20#include "pmuif/gpmuifpmgr.h"
21#include "gm206/bios_gm206.h" 19#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"
23 21
diff --git a/drivers/gpu/nvgpu/pmgr/pwrmonitor.h b/drivers/gpu/nvgpu/pmgr/pwrmonitor.h
index 7cd6b8c9..9ef5c821 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrmonitor.h
+++ b/drivers/gpu/nvgpu/pmgr/pwrmonitor.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general power channel structures & definitions 2 * general power channel structures & definitions
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -15,9 +15,9 @@
15#ifndef _PWRMONITOR_H_ 15#ifndef _PWRMONITOR_H_
16#define _PWRMONITOR_H_ 16#define _PWRMONITOR_H_
17 17
18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
18#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobj.h" 20#include "boardobj/boardobj.h"
20#include "pmuif/gpmuifpmgr.h"
21#include "ctrl/ctrlpmgr.h" 21#include "ctrl/ctrlpmgr.h"
22 22
23struct pwr_channel { 23struct pwr_channel {
diff --git a/drivers/gpu/nvgpu/pmgr/pwrpolicy.c b/drivers/gpu/nvgpu/pmgr/pwrpolicy.c
index 2b0be8d8..d19f9a1c 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrpolicy.c
+++ b/drivers/gpu/nvgpu/pmgr/pwrpolicy.c
@@ -16,8 +16,6 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h"
20#include "pmuif/gpmuifpmgr.h"
21#include "gm206/bios_gm206.h" 19#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"
23 21
diff --git a/drivers/gpu/nvgpu/pmgr/pwrpolicy.h b/drivers/gpu/nvgpu/pmgr/pwrpolicy.h
index 008282d3..e14369ea 100644
--- a/drivers/gpu/nvgpu/pmgr/pwrpolicy.h
+++ b/drivers/gpu/nvgpu/pmgr/pwrpolicy.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general power channel structures & definitions 2 * general power channel structures & definitions
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -15,9 +15,9 @@
15#ifndef _PWRPOLICY_H_ 15#ifndef _PWRPOLICY_H_
16#define _PWRPOLICY_H_ 16#define _PWRPOLICY_H_
17 17
18#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
18#include "boardobj/boardobjgrp.h" 19#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobj.h" 20#include "boardobj/boardobj.h"
20#include "pmuif/gpmuifpmgr.h"
21#include "ctrl/ctrlpmgr.h" 21#include "ctrl/ctrlpmgr.h"
22 22
23#define PWR_POLICY_EXT_POWER_STATE_ID_COUNT 0x4 23#define PWR_POLICY_EXT_POWER_STATE_ID_COUNT 0x4
diff --git a/drivers/gpu/nvgpu/therm/thrmchannel.c b/drivers/gpu/nvgpu/therm/thrmchannel.c
index aa40dac8..f253a196 100644
--- a/drivers/gpu/nvgpu/therm/thrmchannel.c
+++ b/drivers/gpu/nvgpu/therm/thrmchannel.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,8 +16,7 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
20#include "pmuif/gpmuifthermsensor.h"
21#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 21#include "gk20a/pmu_gk20a.h"
23 22
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.c b/drivers/gpu/nvgpu/therm/thrmdev.c
index 9bb77537..3ff199e7 100644
--- a/drivers/gpu/nvgpu/therm/thrmdev.c
+++ b/drivers/gpu/nvgpu/therm/thrmdev.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -16,8 +16,7 @@
16#include "include/bios.h" 16#include "include/bios.h"
17#include "boardobj/boardobjgrp.h" 17#include "boardobj/boardobjgrp.h"
18#include "boardobj/boardobjgrp_e32.h" 18#include "boardobj/boardobjgrp_e32.h"
19#include "pmuif/gpmuifboardobj.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
20#include "pmuif/gpmuifthermsensor.h"
21#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
22#include "gk20a/pmu_gk20a.h" 21#include "gk20a/pmu_gk20a.h"
23#include "ctrl/ctrltherm.h" 22#include "ctrl/ctrltherm.h"
diff --git a/drivers/gpu/nvgpu/therm/thrmpmu.c b/drivers/gpu/nvgpu/therm/thrmpmu.c
index 0f780730..a06d3b92 100644
--- a/drivers/gpu/nvgpu/therm/thrmpmu.c
+++ b/drivers/gpu/nvgpu/therm/thrmpmu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,9 +15,8 @@
15#include "include/bios.h" 15#include "include/bios.h"
16#include "boardobj/boardobjgrp.h" 16#include "boardobj/boardobjgrp.h"
17#include "boardobj/boardobjgrp_e32.h" 17#include "boardobj/boardobjgrp_e32.h"
18#include "pmuif/gpmuifboardobj.h"
19#include "thrmpmu.h" 18#include "thrmpmu.h"
20#include "pmuif/gpmuiftherm.h" 19#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
21 20
22struct therm_pmucmdhandler_params { 21struct therm_pmucmdhandler_params {
23 struct nv_pmu_therm_rpc *prpccall; 22 struct nv_pmu_therm_rpc *prpccall;
diff --git a/drivers/gpu/nvgpu/volt/volt_dev.c b/drivers/gpu/nvgpu/volt/volt_dev.c
index 3a7ed1b5..ebc140ef 100644
--- a/drivers/gpu/nvgpu/volt/volt_dev.c
+++ b/drivers/gpu/nvgpu/volt/volt_dev.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,14 +17,13 @@
17#include "include/bios.h" 17#include "include/bios.h"
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20#include "pmuif/gpmuifboardobj.h"
21#include "gm206/bios_gm206.h" 20#include "gm206/bios_gm206.h"
22#include "ctrl/ctrlvolt.h" 21#include "ctrl/ctrlvolt.h"
23#include "gk20a/pmu_gk20a.h" 22#include "gk20a/pmu_gk20a.h"
24 23
25#include "pmuif/gpmuifperfvfe.h"
26#include "include/bios.h" 24#include "include/bios.h"
27#include "volt.h" 25#include "volt.h"
26#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
28 27
29#define VOLT_DEV_PWM_VOLTAGE_STEPS_INVALID 0 28#define VOLT_DEV_PWM_VOLTAGE_STEPS_INVALID 0
30#define VOLT_DEV_PWM_VOLTAGE_STEPS_DEFAULT 1 29#define VOLT_DEV_PWM_VOLTAGE_STEPS_DEFAULT 1
diff --git a/drivers/gpu/nvgpu/volt/volt_pmu.c b/drivers/gpu/nvgpu/volt/volt_pmu.c
index 4e7f73c9..488e67a3 100644
--- a/drivers/gpu/nvgpu/volt/volt_pmu.c
+++ b/drivers/gpu/nvgpu/volt/volt_pmu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,16 +15,14 @@
15#include "include/bios.h" 15#include "include/bios.h"
16#include "boardobj/boardobjgrp.h" 16#include "boardobj/boardobjgrp.h"
17#include "boardobj/boardobjgrp_e32.h" 17#include "boardobj/boardobjgrp_e32.h"
18#include "pmuif/gpmuifboardobj.h"
19#include "gm206/bios_gm206.h" 18#include "gm206/bios_gm206.h"
20#include "ctrl/ctrlvolt.h" 19#include "ctrl/ctrlvolt.h"
21#include "ctrl/ctrlperf.h" 20#include "ctrl/ctrlperf.h"
22#include "gk20a/pmu_gk20a.h" 21#include "gk20a/pmu_gk20a.h"
23 22
24#include "pmuif/gpmuifperfvfe.h"
25#include "pmuif/gpmuifvolt.h"
26#include "include/bios.h" 23#include "include/bios.h"
27#include "volt.h" 24#include "volt.h"
25#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
28 26
29#define RAIL_COUNT 2 27#define RAIL_COUNT 2
30 28
diff --git a/drivers/gpu/nvgpu/volt/volt_policy.c b/drivers/gpu/nvgpu/volt/volt_policy.c
index ee3e74b8..e943e771 100644
--- a/drivers/gpu/nvgpu/volt/volt_policy.c
+++ b/drivers/gpu/nvgpu/volt/volt_policy.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,12 +15,11 @@
15#include "include/bios.h" 15#include "include/bios.h"
16#include "boardobj/boardobjgrp.h" 16#include "boardobj/boardobjgrp.h"
17#include "boardobj/boardobjgrp_e32.h" 17#include "boardobj/boardobjgrp_e32.h"
18#include "pmuif/gpmuifboardobj.h"
19#include "gm206/bios_gm206.h" 18#include "gm206/bios_gm206.h"
20#include "ctrl/ctrlvolt.h" 19#include "ctrl/ctrlvolt.h"
21#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"
22 21
23#include "pmuif/gpmuifperfvfe.h" 22#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
24#include "include/bios.h" 23#include "include/bios.h"
25#include "volt.h" 24#include "volt.h"
26 25
diff --git a/drivers/gpu/nvgpu/volt/volt_rail.c b/drivers/gpu/nvgpu/volt/volt_rail.c
index 87b85160..6d606228 100644
--- a/drivers/gpu/nvgpu/volt/volt_rail.c
+++ b/drivers/gpu/nvgpu/volt/volt_rail.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,12 +15,11 @@
15#include "include/bios.h" 15#include "include/bios.h"
16#include "boardobj/boardobjgrp.h" 16#include "boardobj/boardobjgrp.h"
17#include "boardobj/boardobjgrp_e32.h" 17#include "boardobj/boardobjgrp_e32.h"
18#include "pmuif/gpmuifboardobj.h"
19#include "gm206/bios_gm206.h" 18#include "gm206/bios_gm206.h"
20#include "ctrl/ctrlvolt.h" 19#include "ctrl/ctrlvolt.h"
21#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"
22 21
23#include "pmuif/gpmuifperfvfe.h" 22#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
24#include "include/bios.h" 23#include "include/bios.h"
25#include "volt.h" 24#include "volt.h"
26 25