mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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
This commit is contained in:
committed by
Dan Willemsen
parent
5db7a42055
commit
5dea7c4729
@@ -1410,6 +1410,9 @@ static u32 gk20a_fifo_handle_pbdma_intr(struct device *dev,
|
||||
u32 hw_chid = fifo_pbdma_status_id_v(status);
|
||||
if (fifo_pbdma_status_id_type_v(status)
|
||||
== fifo_pbdma_status_id_type_chid_v()) {
|
||||
struct channel_gk20a *ch = &f->channel[hw_chid];
|
||||
gk20a_set_error_notifier(ch,
|
||||
NVHOST_CHANNEL_PBDMA_ERROR);
|
||||
gk20a_fifo_recover_ch(g, hw_chid, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user