diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-10-12 08:39:43 -0400 |
---|---|---|
committer | Ishan Mittal <imittal@nvidia.com> | 2015-10-20 02:52:50 -0400 |
commit | 0269339256dee0a8fcd2d6aa1180780039f22fab (patch) | |
tree | 190fe62ff3ef4716a6d69259c0c5ca2394301022 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | da8ff40e55c498f2ca24d446d45cda9d4d83bbcf (diff) |
gpu: nvgpu: restart timer instead of cancel
In gk20a_fifo_handle_sched_error(), we currently cancel
the timeout on all the channels
But this could cause us to miss one of stuck channel
hence, instead of cancelling, restart the timeout of channel
on which it is already active
Bug 200133289
Change-Id: I40e7e0e5394911fc110ab6fde39592b885dfaf7d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/816133
Reviewed-by: Ishan Mittal <imittal@nvidia.com>
Tested-by: Ishan Mittal <imittal@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 280c50b1..3e18e053 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -256,5 +256,5 @@ void channel_gk20a_free_inst(struct gk20a *g, struct channel_gk20a *ch); | |||
256 | int channel_gk20a_setup_ramfc(struct channel_gk20a *c, | 256 | int channel_gk20a_setup_ramfc(struct channel_gk20a *c, |
257 | u64 gpfifo_base, u32 gpfifo_entries, u32 flags); | 257 | u64 gpfifo_base, u32 gpfifo_entries, u32 flags); |
258 | void channel_gk20a_enable(struct channel_gk20a *ch); | 258 | void channel_gk20a_enable(struct channel_gk20a *ch); |
259 | void gk20a_channel_timeout_stop_all_channels(struct gk20a *g); | 259 | void gk20a_channel_timeout_restart_all_channels(struct gk20a *g); |
260 | #endif /* CHANNEL_GK20A_H */ | 260 | #endif /* CHANNEL_GK20A_H */ |