diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-02-16 19:53:35 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-12 18:33:50 -0400 |
commit | c3c3a3c5715d6aa38544922b76a636135429fd22 (patch) | |
tree | 4e608ad8e817229ff088cad2f2ddb3606f39b73e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 3867db86bce819901e566ac46ea5cd1ead3dad11 (diff) |
gpu: nvgpu: add fifo ops for handling pbdma intr_0
This is needed to handle bit 20 (clear_faulted_error) and
bit 24 (eng_reset) of t19x pbdma_intr_0 interrupt.
JIRA GPUT19X-47
Change-Id: I07c603eff96344c0104579e339e5cf7f675128ef
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1306556
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e4450185..7d7d573a 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -474,6 +474,9 @@ struct gpu_ops { | |||
474 | struct mmu_fault_info *mmfault); | 474 | struct mmu_fault_info *mmfault); |
475 | bool (*handle_sched_error)(struct gk20a *g); | 475 | bool (*handle_sched_error)(struct gk20a *g); |
476 | bool (*handle_ctxsw_timeout)(struct gk20a *g, u32 fifo_intr); | 476 | bool (*handle_ctxsw_timeout)(struct gk20a *g, u32 fifo_intr); |
477 | unsigned int (*handle_pbdma_intr_0)(struct gk20a *g, | ||
478 | u32 pbdma_id, u32 pbdma_intr_0, | ||
479 | u32 *handled, u32 *error_notifier); | ||
477 | } fifo; | 480 | } fifo; |
478 | struct pmu_v { | 481 | struct pmu_v { |
479 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ | 482 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ |