summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-03-09 01:18:36 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-12 18:33:44 -0400
commit3867db86bce819901e566ac46ea5cd1ead3dad11 (patch)
tree0ed3711ceabc0f9a5971507151ac446545ccfc90 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent4c5feb1f72bb078c9002b91f15dd5474bb774b58 (diff)
gpu: nvgpu: fifo ops for handling sched error and ctxsw timeout
For t19x, ctxsw timeout is not handled as part of fifo sched error interrupt. A new fifo interrupt, ctxsw_timeout is added. Bug 1856152 JIRA GPUT19X-74 Change-Id: I5a2ed15d967e5b14fbbb51b074080f1562bca84c Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1317599 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index aeef263e..e4450185 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -472,6 +472,8 @@ struct gpu_ops {
472 void (*teardown_ch_tsg)(struct gk20a *g, u32 act_eng_bitmask, 472 void (*teardown_ch_tsg)(struct gk20a *g, u32 act_eng_bitmask,
473 u32 id, unsigned int id_type, unsigned int rc_type, 473 u32 id, unsigned int id_type, unsigned int rc_type,
474 struct mmu_fault_info *mmfault); 474 struct mmu_fault_info *mmfault);
475 bool (*handle_sched_error)(struct gk20a *g);
476 bool (*handle_ctxsw_timeout)(struct gk20a *g, u32 fifo_intr);
475 } fifo; 477 } fifo;
476 struct pmu_v { 478 struct pmu_v {
477 /*used for change of enum zbc update cmd id from ver 0 to ver1*/ 479 /*used for change of enum zbc update cmd id from ver 0 to ver1*/