summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2015-06-29 05:12:56 -0400
committerVijayakumar Subbu <vsubbu@nvidia.com>2015-07-17 04:16:48 -0400
commit55c85cfa7bc297b525a3b099d469eee0b71b155a (patch)
tree9835cc4b39d45fa1dac2e4b9dc477a6d39569232 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent37869170e4f3c42fa31faa1bcda1e6c0a188179c (diff)
gpu: nvgpu: improve sched err handling
bug 200114561 1) when handling sched error, if CTXSW status reads switch check FECS mailbox register to know whether next or current channel caused error 2) Update recovery function to use ch id passed to it 3) Recovery function now passes mmu_engine_id to mmu fault handler instead of fifo_engine_id Change-Id: I3576cc4a90408b2f76b2c42cce19c27344531b1c Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/763538 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index cf9cab0e..501a7deb 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5581,7 +5581,7 @@ int gk20a_gr_isr(struct gk20a *g)
5581 5581
5582 if (need_reset) 5582 if (need_reset)
5583 gk20a_fifo_recover(g, BIT(ENGINE_GR_GK20A), 5583 gk20a_fifo_recover(g, BIT(ENGINE_GR_GK20A),
5584 ~(u32)0, false, true); 5584 ~(u32)0, false, false, true);
5585 5585
5586clean_up: 5586clean_up:
5587 if (gr_intr && !ch) { 5587 if (gr_intr && !ch) {