summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/fifo/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/fifo/channel.c')
-rw-r--r--drivers/gpu/nvgpu/common/fifo/channel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/fifo/channel.c b/drivers/gpu/nvgpu/common/fifo/channel.c
index 0f4fe850..7179d46e 100644
--- a/drivers/gpu/nvgpu/common/fifo/channel.c
+++ b/drivers/gpu/nvgpu/common/fifo/channel.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A Graphics channel 2 * GK20A Graphics channel
3 * 3 *
4 * Copyright (c) 2011-2019, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2020, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -512,6 +512,9 @@ unbind:
512 ch->ref_actions_put = 0; 512 ch->ref_actions_put = 0;
513#endif 513#endif
514 514
515 nvgpu_cond_destroy(&ch->notifier_wq);
516 nvgpu_cond_destroy(&ch->semaphore_wq);
517
515 /* make sure we catch accesses of unopened channels in case 518 /* make sure we catch accesses of unopened channels in case
516 * there's non-refcounted channel pointers hanging around */ 519 * there's non-refcounted channel pointers hanging around */
517 ch->g = NULL; 520 ch->g = NULL;