summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c4
-rw-r--r--drivers/gpu/nvgpu/vgpu/tsg_vgpu.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c
index 8c999161..84f295fe 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_tsg_gv11b.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"),
@@ -54,7 +54,7 @@ int vgpu_gv11b_tsg_bind_channel(struct tsg_gk20a *tsg,
54 nvgpu_err(tsg->g, 54 nvgpu_err(tsg->g,
55 "vgpu_gv11b_tsg_bind_channel failed, ch %d tsgid %d", 55 "vgpu_gv11b_tsg_bind_channel failed, ch %d tsgid %d",
56 ch->chid, tsg->tsgid); 56 ch->chid, tsg->tsgid);
57 gk20a_tsg_unbind_channel(ch); 57 gk20a_tsg_unbind_channel(ch, true);
58 } 58 }
59 59
60 return err; 60 return err;
diff --git a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
index d6060e06..d1f64d97 100644
--- a/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/tsg_vgpu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2020, 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"),
@@ -112,7 +112,7 @@ int vgpu_tsg_bind_channel(struct tsg_gk20a *tsg,
112 nvgpu_err(tsg->g, 112 nvgpu_err(tsg->g,
113 "vgpu_tsg_bind_channel failed, ch %d tsgid %d", 113 "vgpu_tsg_bind_channel failed, ch %d tsgid %d",
114 ch->chid, tsg->tsgid); 114 ch->chid, tsg->tsgid);
115 gk20a_tsg_unbind_channel(ch); 115 gk20a_tsg_unbind_channel(ch, true);
116 } 116 }
117 117
118 return err; 118 return err;