diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index ef3d8729..de82be36 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1728,14 +1728,14 @@ int gk20a_channel_finish(struct channel_gk20a *ch, unsigned long timeout) | |||
1728 | if (ch->has_timedout) | 1728 | if (ch->has_timedout) |
1729 | return -ETIMEDOUT; | 1729 | return -ETIMEDOUT; |
1730 | 1730 | ||
1731 | if (!(fence->valid && fence->wfi)) { | 1731 | if (!(fence->valid && fence->wfi) && ch->obj_class != KEPLER_C) { |
1732 | gk20a_dbg_fn("issuing wfi, incr to finish the channel"); | 1732 | gk20a_dbg_fn("issuing wfi, incr to finish the channel"); |
1733 | err = gk20a_channel_submit_wfi(ch); | 1733 | err = gk20a_channel_submit_wfi(ch); |
1734 | } | 1734 | } |
1735 | if (err) | 1735 | if (err) |
1736 | return err; | 1736 | return err; |
1737 | 1737 | ||
1738 | BUG_ON(!(fence->valid && fence->wfi)); | 1738 | BUG_ON(!(fence->valid && fence->wfi) && ch->obj_class != KEPLER_C); |
1739 | 1739 | ||
1740 | gk20a_dbg_fn("waiting for channel to finish thresh:%d sema:%p", | 1740 | gk20a_dbg_fn("waiting for channel to finish thresh:%d sema:%p", |
1741 | fence->thresh, fence->semaphore); | 1741 | fence->thresh, fence->semaphore); |