summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_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/fifo_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/fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index d5456ea1..dc43c532 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -386,4 +386,9 @@ bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id,
386void gk20a_fifo_teardown_ch_tsg(struct gk20a *g, u32 __engine_ids, 386void gk20a_fifo_teardown_ch_tsg(struct gk20a *g, u32 __engine_ids,
387 u32 hw_id, unsigned int id_type, unsigned int rc_type, 387 u32 hw_id, unsigned int id_type, unsigned int rc_type,
388 struct mmu_fault_info *mmfault); 388 struct mmu_fault_info *mmfault);
389
390bool gk20a_fifo_check_tsg_ctxsw_timeout(struct tsg_gk20a *tsg,
391 bool *verbose, u32 *ms);
392bool gk20a_fifo_handle_sched_error(struct gk20a *g);
393
389#endif /*__GR_GK20A_H__*/ 394#endif /*__GR_GK20A_H__*/