diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-11 17:47:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-13 11:56:06 -0400 |
commit | a0fa2b0258dafcd7a2450ab5366a49663b1d2e89 (patch) | |
tree | 95f1023fbd36209f6cc07341ce708049e75474d6 /drivers/gpu/nvgpu/vgpu | |
parent | 7ef1eb8a10e507d8ba3b92e24472c06500fd5f36 (diff) |
gpu: nvgpu: Add wrapper nvgpu/bug.h
Add wrapper header file nvgpu/bug.h. It #includes <linux/bug.h>
in Linux.
JIRA NVGPU-13
Change-Id: I7bf02ba554333f7cbd79d72bd1cb423c81ebcb49
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1461545
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/dbg_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 1 |
10 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c b/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c index 5291e0f5..f7b06f3b 100644 --- a/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ce2_vgpu.c | |||
@@ -15,6 +15,8 @@ | |||
15 | 15 | ||
16 | #include "vgpu/vgpu.h" | 16 | #include "vgpu/vgpu.h" |
17 | 17 | ||
18 | #include <nvgpu/bug.h> | ||
19 | |||
18 | int vgpu_ce2_nonstall_isr(struct gk20a *g, | 20 | int vgpu_ce2_nonstall_isr(struct gk20a *g, |
19 | struct tegra_vgpu_ce2_nonstall_intr_info *info) | 21 | struct tegra_vgpu_ce2_nonstall_intr_info *info) |
20 | { | 22 | { |
diff --git a/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c b/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c index a2e57ed5..b9cbcead 100644 --- a/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/dbg_vgpu.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include "gk20a/dbg_gpu_gk20a.h" | 22 | #include "gk20a/dbg_gpu_gk20a.h" |
23 | #include "vgpu.h" | 23 | #include "vgpu.h" |
24 | 24 | ||
25 | #include <nvgpu/bug.h> | ||
26 | |||
25 | static int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, | 27 | static int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, |
26 | struct nvgpu_dbg_gpu_reg_op *ops, | 28 | struct nvgpu_dbg_gpu_reg_op *ops, |
27 | u64 num_ops) | 29 | u64 num_ops) |
diff --git a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c index 398e26b2..af1631d8 100644 --- a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/version.h> | 17 | #include <linux/version.h> |
18 | 18 | ||
19 | #include <nvgpu/kmem.h> | 19 | #include <nvgpu/kmem.h> |
20 | #include <nvgpu/bug.h> | ||
20 | 21 | ||
21 | #include "gk20a/gk20a.h" | 22 | #include "gk20a/gk20a.h" |
22 | #include "gk20a/ctxsw_trace_gk20a.h" | 23 | #include "gk20a/ctxsw_trace_gk20a.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index 5d1d1208..67def777 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <nvgpu/kmem.h> | 19 | #include <nvgpu/kmem.h> |
20 | #include <nvgpu/dma.h> | 20 | #include <nvgpu/dma.h> |
21 | #include <nvgpu/atomic.h> | 21 | #include <nvgpu/atomic.h> |
22 | #include <nvgpu/bug.h> | ||
22 | 23 | ||
23 | #include "vgpu/vgpu.h" | 24 | #include "vgpu/vgpu.h" |
24 | #include "gk20a/ctxsw_trace_gk20a.h" | 25 | #include "gk20a/ctxsw_trace_gk20a.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c index cc9c46bf..b5c9735c 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include <nvgpu/kmem.h> | 14 | #include <nvgpu/kmem.h> |
15 | #include <nvgpu/dma.h> | 15 | #include <nvgpu/dma.h> |
16 | #include <nvgpu/bug.h> | ||
16 | 17 | ||
17 | #include "vgpu/vgpu.h" | 18 | #include "vgpu/vgpu.h" |
18 | #include "vgpu/gm20b/vgpu_gr_gm20b.h" | 19 | #include "vgpu/gm20b/vgpu_gr_gm20b.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c index cfda867c..15ff10b9 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c | |||
@@ -18,6 +18,8 @@ | |||
18 | #include "vgpu_mm_gp10b.h" | 18 | #include "vgpu_mm_gp10b.h" |
19 | #include "gk20a/mm_gk20a.h" | 19 | #include "gk20a/mm_gk20a.h" |
20 | 20 | ||
21 | #include <nvgpu/bug.h> | ||
22 | |||
21 | static int vgpu_gp10b_init_mm_setup_hw(struct gk20a *g) | 23 | static int vgpu_gp10b_init_mm_setup_hw(struct gk20a *g) |
22 | { | 24 | { |
23 | g->mm.bypass_smmu = true; | 25 | g->mm.bypass_smmu = true; |
diff --git a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c index 102adae3..702ae97b 100644 --- a/drivers/gpu/nvgpu/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/gr_vgpu.c | |||
@@ -14,6 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <nvgpu/kmem.h> | 16 | #include <nvgpu/kmem.h> |
17 | #include <nvgpu/bug.h> | ||
17 | 18 | ||
18 | #include "vgpu/vgpu.h" | 19 | #include "vgpu/vgpu.h" |
19 | #include "gk20a/dbg_gpu_gk20a.h" | 20 | #include "gk20a/dbg_gpu_gk20a.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index 3c139df5..7e42c198 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | #include <nvgpu/kmem.h> | 18 | #include <nvgpu/kmem.h> |
19 | #include <nvgpu/dma.h> | 19 | #include <nvgpu/dma.h> |
20 | #include <nvgpu/bug.h> | ||
20 | 21 | ||
21 | #include "vgpu/vgpu.h" | 22 | #include "vgpu/vgpu.h" |
22 | #include "gk20a/mm_gk20a.h" | 23 | #include "gk20a/mm_gk20a.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c index 701be345..3f6b6fd9 100644 --- a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c | |||
@@ -22,6 +22,8 @@ | |||
22 | #include "gk20a/tsg_gk20a.h" | 22 | #include "gk20a/tsg_gk20a.h" |
23 | #include "vgpu.h" | 23 | #include "vgpu.h" |
24 | 24 | ||
25 | #include <nvgpu/bug.h> | ||
26 | |||
25 | static int vgpu_tsg_open(struct tsg_gk20a *tsg) | 27 | static int vgpu_tsg_open(struct tsg_gk20a *tsg) |
26 | { | 28 | { |
27 | struct tegra_vgpu_cmd_msg msg = {}; | 29 | struct tegra_vgpu_cmd_msg msg = {}; |
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index 4cb7c52e..75fdd369 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/pm_qos.h> | 20 | #include <linux/pm_qos.h> |
21 | 21 | ||
22 | #include <nvgpu/kmem.h> | 22 | #include <nvgpu/kmem.h> |
23 | #include <nvgpu/bug.h> | ||
23 | 24 | ||
24 | #include "vgpu/vgpu.h" | 25 | #include "vgpu/vgpu.h" |
25 | #include "vgpu/fecs_trace_vgpu.h" | 26 | #include "vgpu/fecs_trace_vgpu.h" |