diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 6f99b3f9..06739eee 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -515,6 +515,9 @@ struct gpu_ops { | |||
515 | void (*pg_gr_load_gating_prod)(struct gk20a *g, bool prod); | 515 | void (*pg_gr_load_gating_prod)(struct gk20a *g, bool prod); |
516 | } clock_gating; | 516 | } clock_gating; |
517 | struct { | 517 | struct { |
518 | void (*post_events)(struct channel_gk20a *ch); | ||
519 | } debugger; | ||
520 | struct { | ||
518 | int (*init_fifo_setup_hw)(struct gk20a *g); | 521 | int (*init_fifo_setup_hw)(struct gk20a *g); |
519 | void (*bind_channel)(struct channel_gk20a *ch_gk20a); | 522 | void (*bind_channel)(struct channel_gk20a *ch_gk20a); |
520 | void (*unbind_channel)(struct channel_gk20a *ch_gk20a); | 523 | void (*unbind_channel)(struct channel_gk20a *ch_gk20a); |
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 07185db2..068eb070 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -6053,7 +6053,7 @@ int gk20a_gr_isr(struct gk20a *g) | |||
6053 | /* signal clients waiting on an event */ | 6053 | /* signal clients waiting on an event */ |
6054 | if (g->ops.gr.sm_debugger_attached(g) && | 6054 | if (g->ops.gr.sm_debugger_attached(g) && |
6055 | post_event && fault_ch) { | 6055 | post_event && fault_ch) { |
6056 | gk20a_dbg_gpu_post_events(fault_ch); | 6056 | g->ops.debugger.post_events(fault_ch); |
6057 | } | 6057 | } |
6058 | } | 6058 | } |
6059 | 6059 | ||