diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-08-11 06:00:32 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:49 -0400 |
commit | 5dea7c47290b563ccb4647a724a3c2d2a10276e7 (patch) | |
tree | 5ce590be0ca38e53ee91e46b25175c80816d6b38 | |
parent | 5db7a42055eb2239b5a3a597935c27ac0b920d3d (diff) |
gpu: nvgpu: Set error notifier on PBDMA error
Change-Id: Idf1261fe6561477f5dceea54de63326ef8a4a1b3
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/455041
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 73de3607..9fedb64b 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1410,6 +1410,9 @@ static u32 gk20a_fifo_handle_pbdma_intr(struct device *dev, | |||
1410 | u32 hw_chid = fifo_pbdma_status_id_v(status); | 1410 | u32 hw_chid = fifo_pbdma_status_id_v(status); |
1411 | if (fifo_pbdma_status_id_type_v(status) | 1411 | if (fifo_pbdma_status_id_type_v(status) |
1412 | == fifo_pbdma_status_id_type_chid_v()) { | 1412 | == fifo_pbdma_status_id_type_chid_v()) { |
1413 | struct channel_gk20a *ch = &f->channel[hw_chid]; | ||
1414 | gk20a_set_error_notifier(ch, | ||
1415 | NVHOST_CHANNEL_PBDMA_ERROR); | ||
1413 | gk20a_fifo_recover_ch(g, hw_chid, true); | 1416 | gk20a_fifo_recover_ch(g, hw_chid, true); |
1414 | } | 1417 | } |
1415 | } | 1418 | } |