mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: skip channel status verification if TSG has timed out
In gk20a_fifo_tsg_unbind_channel(), we always verify channel status before unbinding a channel from TSG But in case TSG has alread timed out we never re-enable it so it does not make sense to inspect channel status anyways So skip channel status verification in case TSG has timed out Bug 200327095 Change-Id: Iccf601271290643c235c3f2656201549210a6886 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1586015 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8a9261d14a
commit
3afb2a88d5
@@ -1966,7 +1966,7 @@ int gk20a_fifo_tsg_unbind_channel(struct channel_gk20a *ch)
|
||||
if (err)
|
||||
goto fail_enable_tsg;
|
||||
|
||||
if (g->ops.fifo.tsg_verify_channel_status) {
|
||||
if (g->ops.fifo.tsg_verify_channel_status && !tsg_timedout) {
|
||||
err = g->ops.fifo.tsg_verify_channel_status(ch);
|
||||
if (err)
|
||||
goto fail_enable_tsg;
|
||||
|
||||
Reference in New Issue
Block a user