summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVinod G <vinodg@nvidia.com>2018-05-25 14:15:56 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-29 16:34:07 -0400
commite37e527172e298eddbff78625b524f53ae0d3f96 (patch)
tree4c6359ee2779525613507aa65427dd7fa115c599 /drivers
parent83fd3de4618f312434aab791d56f15f3c659dab6 (diff)
gpu: nvgpu: Fix include path for clockgating headers
Removed the reference for $NVGPU/drivers/gpu/nvgpu/common from Makefile and fixed the include path for the clockgating headers in HAL files. Change-Id: I34c179866d28c932501b38184ec18d20dce81480 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1730759 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/Makefile1
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c2
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c2
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c2
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c2
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c2
7 files changed, 6 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 6b4fc505..1fc52d73 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -2,7 +2,6 @@ GCOV_PROFILE := y
2 2
3ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/include 3ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/include
4ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu 4ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu
5ccflags-y += -I$(srctree.nvgpu)/drivers/gpu/nvgpu/common
6ccflags-y += -I$(srctree.nvgpu)/include 5ccflags-y += -I$(srctree.nvgpu)/include
7ccflags-y += -I$(srctree.nvgpu)/include/uapi 6ccflags-y += -I$(srctree.nvgpu)/include/uapi
8ccflags-y += -I$(srctree.nvgpu-next)/drivers/gpu/nvgpu 7ccflags-y += -I$(srctree.nvgpu-next)/drivers/gpu/nvgpu
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 3ac1d79b..3c3ad0fb 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -23,6 +23,7 @@
23 */ 23 */
24 24
25#include "common/bus/bus_gk20a.h" 25#include "common/bus/bus_gk20a.h"
26#include "common/clock_gating/gp106_gating_reglist.h"
26 27
27#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
28#include "gk20a/fifo_gk20a.h" 29#include "gk20a/fifo_gk20a.h"
@@ -79,7 +80,6 @@
79#include "gp106/gr_ctx_gp106.h" 80#include "gp106/gr_ctx_gp106.h"
80#include "gp106/gr_gp106.h" 81#include "gp106/gr_gp106.h"
81#include "gp106/fb_gp106.h" 82#include "gp106/fb_gp106.h"
82#include "clock_gating/gp106_gating_reglist.h"
83#include "gp106/flcn_gp106.h" 83#include "gp106/flcn_gp106.h"
84#include "gp106/fuse_gp106.h" 84#include "gp106/fuse_gp106.h"
85 85
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
index a6ddc27f..2d6479fc 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
@@ -23,6 +23,7 @@
23 */ 23 */
24 24
25#include "common/bus/bus_gk20a.h" 25#include "common/bus/bus_gk20a.h"
26#include "common/clock_gating/gp10b_gating_reglist.h"
26 27
27#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
28#include "gk20a/fifo_gk20a.h" 29#include "gk20a/fifo_gk20a.h"
@@ -49,7 +50,6 @@
49#include "gp10b/pmu_gp10b.h" 50#include "gp10b/pmu_gp10b.h"
50#include "gp10b/gr_ctx_gp10b.h" 51#include "gp10b/gr_ctx_gp10b.h"
51#include "gp10b/fifo_gp10b.h" 52#include "gp10b/fifo_gp10b.h"
52#include "clock_gating/gp10b_gating_reglist.h"
53#include "gp10b/regops_gp10b.h" 53#include "gp10b/regops_gp10b.h"
54#include "gp10b/therm_gp10b.h" 54#include "gp10b/therm_gp10b.h"
55#include "gp10b/priv_ring_gp10b.h" 55#include "gp10b/priv_ring_gp10b.h"
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index a3ad7051..9b38f881 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -23,6 +23,7 @@
23 */ 23 */
24 24
25#include "common/bus/bus_gk20a.h" 25#include "common/bus/bus_gk20a.h"
26#include "common/clock_gating/gv100_gating_reglist.h"
26 27
27#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
28#include "gk20a/fifo_gk20a.h" 29#include "gk20a/fifo_gk20a.h"
@@ -98,7 +99,6 @@
98#include "gv100/pmu_gv100.h" 99#include "gv100/pmu_gv100.h"
99#include "gv100/nvlink_gv100.h" 100#include "gv100/nvlink_gv100.h"
100#include "gv100/regops_gv100.h" 101#include "gv100/regops_gv100.h"
101#include "clock_gating/gv100_gating_reglist.h"
102 102
103#include <nvgpu/bus.h> 103#include <nvgpu/bus.h>
104#include <nvgpu/debug.h> 104#include <nvgpu/debug.h>
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index a47b3ce6..2379c17b 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -23,6 +23,7 @@
23 */ 23 */
24 24
25#include "common/bus/bus_gk20a.h" 25#include "common/bus/bus_gk20a.h"
26#include "common/clock_gating/gv11b_gating_reglist.h"
26 27
27#include "gk20a/gk20a.h" 28#include "gk20a/gk20a.h"
28#include "gk20a/fifo_gk20a.h" 29#include "gk20a/fifo_gk20a.h"
@@ -77,7 +78,6 @@
77#include "acr_gv11b.h" 78#include "acr_gv11b.h"
78#include "fb_gv11b.h" 79#include "fb_gv11b.h"
79#include "fifo_gv11b.h" 80#include "fifo_gv11b.h"
80#include "clock_gating/gv11b_gating_reglist.h"
81#include "regops_gv11b.h" 81#include "regops_gv11b.h"
82#include "subctx_gv11b.h" 82#include "subctx_gv11b.h"
83#include "therm_gv11b.h" 83#include "therm_gv11b.h"
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
index 1ed576f9..3f6d4e0f 100644
--- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
+++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
@@ -21,6 +21,7 @@
21 */ 21 */
22 22
23#include "common/bus/bus_gk20a.h" 23#include "common/bus/bus_gk20a.h"
24#include "common/clock_gating/gp10b_gating_reglist.h"
24 25
25#include "vgpu/fifo_vgpu.h" 26#include "vgpu/fifo_vgpu.h"
26#include "vgpu/gr_vgpu.h" 27#include "vgpu/gr_vgpu.h"
@@ -51,7 +52,6 @@
51#include "gp10b/gr_gp10b.h" 52#include "gp10b/gr_gp10b.h"
52#include "gp10b/gr_ctx_gp10b.h" 53#include "gp10b/gr_ctx_gp10b.h"
53#include "gp10b/fifo_gp10b.h" 54#include "gp10b/fifo_gp10b.h"
54#include "clock_gating/gp10b_gating_reglist.h"
55#include "gp10b/regops_gp10b.h" 55#include "gp10b/regops_gp10b.h"
56#include "gp10b/therm_gp10b.h" 56#include "gp10b/therm_gp10b.h"
57#include "gp10b/priv_ring_gp10b.h" 57#include "gp10b/priv_ring_gp10b.h"
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index 3a4af601..e0142405 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -21,6 +21,7 @@
21 */ 21 */
22 22
23#include "common/bus/bus_gk20a.h" 23#include "common/bus/bus_gk20a.h"
24#include "common/clock_gating/gv11b_gating_reglist.h"
24 25
25#include <gk20a/gk20a.h> 26#include <gk20a/gk20a.h>
26#include <gv11b/hal_gv11b.h> 27#include <gv11b/hal_gv11b.h>
@@ -76,7 +77,6 @@
76#include <gv11b/regops_gv11b.h> 77#include <gv11b/regops_gv11b.h>
77#include <gv11b/gr_ctx_gv11b.h> 78#include <gv11b/gr_ctx_gv11b.h>
78#include <gv11b/ltc_gv11b.h> 79#include <gv11b/ltc_gv11b.h>
79#include <clock_gating/gv11b_gating_reglist.h>
80#include <gv11b/gr_gv11b.h> 80#include <gv11b/gr_gv11b.h>
81 81
82#include <nvgpu/enabled.h> 82#include <nvgpu/enabled.h>