diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index b4e03ecd..01b31976 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <gk20a/flcn_gk20a.h> | 39 | #include <gk20a/flcn_gk20a.h> |
40 | #include <gk20a/bus_gk20a.h> | 40 | #include <gk20a/bus_gk20a.h> |
41 | #include <gk20a/mc_gk20a.h> | 41 | #include <gk20a/mc_gk20a.h> |
42 | #include "gk20a/dbg_gpu_gk20a.h" | ||
42 | 43 | ||
43 | #include <gm20b/gr_gm20b.h> | 44 | #include <gm20b/gr_gm20b.h> |
44 | #include <gm20b/fb_gm20b.h> | 45 | #include <gm20b/fb_gm20b.h> |
@@ -525,6 +526,9 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
525 | .debug = { | 526 | .debug = { |
526 | .show_dump = NULL, | 527 | .show_dump = NULL, |
527 | }, | 528 | }, |
529 | .debugger = { | ||
530 | .post_events = gk20a_dbg_gpu_post_events, | ||
531 | }, | ||
528 | .dbg_session_ops = { | 532 | .dbg_session_ops = { |
529 | .exec_reg_ops = vgpu_exec_regops, | 533 | .exec_reg_ops = vgpu_exec_regops, |
530 | .dbg_set_powergate = vgpu_dbg_set_powergate, | 534 | .dbg_set_powergate = vgpu_dbg_set_powergate, |
@@ -585,6 +589,7 @@ int vgpu_gv11b_init_hal(struct gk20a *g) | |||
585 | gops->regops = vgpu_gv11b_ops.regops; | 589 | gops->regops = vgpu_gv11b_ops.regops; |
586 | gops->mc = vgpu_gv11b_ops.mc; | 590 | gops->mc = vgpu_gv11b_ops.mc; |
587 | gops->debug = vgpu_gv11b_ops.debug; | 591 | gops->debug = vgpu_gv11b_ops.debug; |
592 | gops->debugger = vgpu_gv11b_ops.debugger; | ||
588 | gops->dbg_session_ops = vgpu_gv11b_ops.dbg_session_ops; | 593 | gops->dbg_session_ops = vgpu_gv11b_ops.dbg_session_ops; |
589 | gops->bus = vgpu_gv11b_ops.bus; | 594 | gops->bus = vgpu_gv11b_ops.bus; |
590 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 595 | #if defined(CONFIG_GK20A_CYCLE_STATS) |