diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/clk_arb_gp106.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c index ce0c03b9..2dd5651c 100644 --- a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c +++ b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -730,8 +730,8 @@ exit_arb: | |||
730 | nvgpu_atomic_set(&dev->poll_mask, | 730 | nvgpu_atomic_set(&dev->poll_mask, |
731 | NVGPU_POLLIN | NVGPU_POLLRDNORM); | 731 | NVGPU_POLLIN | NVGPU_POLLRDNORM); |
732 | nvgpu_clk_arb_event_post_event(dev); | 732 | nvgpu_clk_arb_event_post_event(dev); |
733 | nvgpu_ref_put(&dev->refcount, nvgpu_clk_arb_free_fd); | ||
734 | nvgpu_list_del(&dev->node); | 733 | nvgpu_list_del(&dev->node); |
734 | nvgpu_ref_put(&dev->refcount, nvgpu_clk_arb_free_fd); | ||
735 | } | 735 | } |
736 | nvgpu_spinlock_release(&arb->requests_lock); | 736 | nvgpu_spinlock_release(&arb->requests_lock); |
737 | 737 | ||
@@ -768,4 +768,4 @@ void gp106_clk_arb_cleanup(struct nvgpu_clk_arb *arb) | |||
768 | nvgpu_kfree(g, g->clk_arb); | 768 | nvgpu_kfree(g, g->clk_arb); |
769 | 769 | ||
770 | g->clk_arb = NULL; | 770 | g->clk_arb = NULL; |
771 | } \ No newline at end of file | 771 | } |