summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2014-09-17 03:08:34 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:17 -0400
commit2f232348e686f92a6a34e5fa7b98884d4b48313b (patch)
tree4e2dc2229e22bf85ac5fdd9a4a37cab089f79bc4 /drivers/gpu/nvgpu/gk20a/channel_gk20a.c
parente4a7bc1602cc9a041dabee4da4a16594f2f9552a (diff)
gpu: nvgpu: handle MMU fault for TSG
- add support to handle MMU faults on a channel in TSG - first get the ID and type of channel that engine is running - if TSG, abort each channel in it - if regular channel, abort that channel - also, add two versions of API set_ctx_mmu_error(), one for regular channel and another for TSG Bug 1470692 Change-Id: Ia7b01b81739598459702ed172180adb00e345eba Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/497874 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index c174afcd..7a3132c9 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -585,7 +585,7 @@ void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error)
585 ch->error_notifier->info32 = error; 585 ch->error_notifier->info32 = error;
586 ch->error_notifier->status = 0xffff; 586 ch->error_notifier->status = 0xffff;
587 gk20a_err(dev_from_gk20a(ch->g), 587 gk20a_err(dev_from_gk20a(ch->g),
588 "error notifier set to %d\n", error); 588 "error notifier set to %d for ch %d\n", error, ch->hw_chid);
589 } 589 }
590} 590}
591 591