summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2017-01-18 08:00:58 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-19 03:04:59 -0500
commit9e5208f6348a5d3a57265971315185dadf0916f6 (patch)
tree9f2b704c2c197afef655f264a2ef6a25c8bfb50b /drivers/gpu/nvgpu/gm20b
parent54534ee1a9689da30f79c2992484dd88fe7171b1 (diff)
drivers: gpu: nvgpu: Use soc/tegra/fuse.h for fuse header
The fuse headers are unified and moved all the content of linux/tegra-fuse.h to the soc/tegra/fuse.h to have the single fuse header for Tegra. Use unified fuse header soc/tegra/fuse.h. bug 200260692 Change-Id: Icab3ba5c3dbcd3fa831455c2f336942d356ff5ac Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/1287498 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.c4
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c2
-rw-r--r--drivers/gpu/nvgpu/gm20b/pmu_gm20b.c2
4 files changed, 4 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
index c50b76b3..05dd455c 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
@@ -23,11 +23,9 @@
23#include <linux/debugfs.h> 23#include <linux/debugfs.h>
24#include <linux/uaccess.h> 24#include <linux/uaccess.h>
25#include <linux/clk/tegra.h> 25#include <linux/clk/tegra.h>
26#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
27#include <soc/tegra/fuse.h> 26#include <soc/tegra/fuse.h>
27#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
28#include <soc/tegra/tegra-dvfs.h> 28#include <soc/tegra/tegra-dvfs.h>
29#else
30#include <linux/tegra-fuse.h>
31#endif 29#endif
32 30
33#include "gk20a/gk20a.h" 31#include "gk20a/gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index 41532dc5..0df2845f 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -16,9 +16,9 @@
16#include <linux/types.h> 16#include <linux/types.h>
17#include <linux/delay.h> 17#include <linux/delay.h>
18#include <linux/io.h> 18#include <linux/io.h>
19#include <linux/tegra-fuse.h>
20#include <linux/vmalloc.h> 19#include <linux/vmalloc.h>
21#include <linux/version.h> 20#include <linux/version.h>
21#include <soc/tegra/fuse.h>
22 22
23#include <dt-bindings/soc/gm20b-fuse.h> 23#include <dt-bindings/soc/gm20b-fuse.h>
24 24
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 83d9c645..e036215f 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -15,7 +15,7 @@
15 15
16#include <linux/types.h> 16#include <linux/types.h>
17#include <linux/version.h> 17#include <linux/version.h>
18#include <linux/tegra-fuse.h> 18#include <soc/tegra/fuse.h>
19 19
20#include "gk20a/gk20a.h" 20#include "gk20a/gk20a.h"
21#include "gk20a/dbg_gpu_gk20a.h" 21#include "gk20a/dbg_gpu_gk20a.h"
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
index 3c09600d..38509f69 100644
--- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
@@ -14,7 +14,7 @@
14 */ 14 */
15 15
16#include <linux/delay.h> /* for udelay */ 16#include <linux/delay.h> /* for udelay */
17#include <linux/tegra-fuse.h> 17#include <soc/tegra/fuse.h>
18 18
19#include "gk20a/gk20a.h" 19#include "gk20a/gk20a.h"
20#include "gk20a/pmu_gk20a.h" 20#include "gk20a/pmu_gk20a.h"