diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.h | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c index 06ef43b8..dfdbe3ee 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.c | |||
@@ -21,13 +21,14 @@ | |||
21 | #include "gk20a/gk20a.h" | 21 | #include "gk20a/gk20a.h" |
22 | #include "gk20a/channel_gk20a.h" | 22 | #include "gk20a/channel_gk20a.h" |
23 | #include "gk20a/dbg_gpu_gk20a.h" | 23 | #include "gk20a/dbg_gpu_gk20a.h" |
24 | #include "gk20a/regops_gk20a.h" | ||
24 | #include "vgpu.h" | 25 | #include "vgpu.h" |
25 | #include "dbg_vgpu.h" | 26 | #include "dbg_vgpu.h" |
26 | 27 | ||
27 | #include <nvgpu/bug.h> | 28 | #include <nvgpu/bug.h> |
28 | 29 | ||
29 | int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, | 30 | int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, |
30 | struct nvgpu_dbg_gpu_reg_op *ops, | 31 | struct nvgpu_dbg_reg_op *ops, |
31 | u64 num_ops) | 32 | u64 num_ops) |
32 | { | 33 | { |
33 | struct channel_gk20a *ch; | 34 | struct channel_gk20a *ch; |
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.h index 8552a82e..178767a2 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.h +++ b/drivers/gpu/nvgpu/common/linux/vgpu/dbg_vgpu.h | |||
@@ -18,12 +18,12 @@ | |||
18 | #define _DBG_VGPU_H_ | 18 | #define _DBG_VGPU_H_ |
19 | 19 | ||
20 | struct dbg_session_gk20a; | 20 | struct dbg_session_gk20a; |
21 | struct nvgpu_dbg_gpu_reg_op; | 21 | struct nvgpu_dbg_reg_op; |
22 | struct dbg_profiler_object_data; | 22 | struct dbg_profiler_object_data; |
23 | struct gk20a; | 23 | struct gk20a; |
24 | 24 | ||
25 | int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, | 25 | int vgpu_exec_regops(struct dbg_session_gk20a *dbg_s, |
26 | struct nvgpu_dbg_gpu_reg_op *ops, | 26 | struct nvgpu_dbg_reg_op *ops, |
27 | u64 num_ops); | 27 | u64 num_ops); |
28 | int vgpu_dbg_set_powergate(struct dbg_session_gk20a *dbg_s, bool disable_powergate); | 28 | int vgpu_dbg_set_powergate(struct dbg_session_gk20a *dbg_s, bool disable_powergate); |
29 | bool vgpu_check_and_set_global_reservation( | 29 | bool vgpu_check_and_set_global_reservation( |
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c index 7768b21d..f261d2ca 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include "clk_vgpu.h" | 36 | #include "clk_vgpu.h" |
37 | #include "gk20a/tsg_gk20a.h" | 37 | #include "gk20a/tsg_gk20a.h" |
38 | #include "gk20a/channel_gk20a.h" | 38 | #include "gk20a/channel_gk20a.h" |
39 | #include "gk20a/regops_gk20a.h" | ||
39 | #include "gm20b/hal_gm20b.h" | 40 | #include "gm20b/hal_gm20b.h" |
40 | 41 | ||
41 | #include "common/linux/module.h" | 42 | #include "common/linux/module.h" |