summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index 0b1aa672..d6b305d4 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -574,11 +574,14 @@ static const struct gpu_ops vgpu_gv11b_ops = {
574 .bus = { 574 .bus = {
575 .init_hw = gk20a_bus_init_hw, 575 .init_hw = gk20a_bus_init_hw,
576 .isr = gk20a_bus_isr, 576 .isr = gk20a_bus_isr,
577 .read_ptimer = vgpu_read_ptimer,
578 .get_timestamps_zipper = vgpu_get_timestamps_zipper,
579 .bar1_bind = NULL, 577 .bar1_bind = NULL,
580 .set_bar0_window = gk20a_bus_set_bar0_window, 578 .set_bar0_window = gk20a_bus_set_bar0_window,
581 }, 579 },
580 .ptimer = {
581 .isr = NULL,
582 .read_ptimer = vgpu_read_ptimer,
583 .get_timestamps_zipper = vgpu_get_timestamps_zipper,
584 },
582#if defined(CONFIG_GK20A_CYCLE_STATS) 585#if defined(CONFIG_GK20A_CYCLE_STATS)
583 .css = { 586 .css = {
584 .enable_snapshot = vgpu_css_enable_snapshot_buffer, 587 .enable_snapshot = vgpu_css_enable_snapshot_buffer,
@@ -625,6 +628,7 @@ int vgpu_gv11b_init_hal(struct gk20a *g)
625 gops->debugger = vgpu_gv11b_ops.debugger; 628 gops->debugger = vgpu_gv11b_ops.debugger;
626 gops->dbg_session_ops = vgpu_gv11b_ops.dbg_session_ops; 629 gops->dbg_session_ops = vgpu_gv11b_ops.dbg_session_ops;
627 gops->bus = vgpu_gv11b_ops.bus; 630 gops->bus = vgpu_gv11b_ops.bus;
631 gops->ptimer = vgpu_gv11b_ops.ptimer;
628#if defined(CONFIG_GK20A_CYCLE_STATS) 632#if defined(CONFIG_GK20A_CYCLE_STATS)
629 gops->css = vgpu_gv11b_ops.css; 633 gops->css = vgpu_gv11b_ops.css;
630#endif 634#endif