summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorNitin Kumbhar <nkumbhar@nvidia.com>2018-06-11 06:01:33 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-26 03:06:07 -0400
commitb4b1fb97bd095fa0de72550b04dc414b0194903e (patch)
treeefef55fc52463a4278b3d01f0eaf165d3c677657 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentd80e8168755da80987a654b910a5ce1f6f273223 (diff)
gpu: nvgpu: shutdown nvlink in driver remove
During driver remove, if nvlink is set up, gracefully shut it down so that it can be enumerated again. Bug 1987855 Change-Id: Ibd83a5e29364b22264e689aa879569a9cccf0f79 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1746073 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 4fe93e3b..0df111c8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1267,6 +1267,7 @@ struct gpu_ops {
1267 int (*set_sublink_mode)(struct gk20a *g, u32 link_id, 1267 int (*set_sublink_mode)(struct gk20a *g, u32 link_id,
1268 bool is_rx_sublink, u32 mode); 1268 bool is_rx_sublink, u32 mode);
1269 int (*interface_init)(struct gk20a *g); 1269 int (*interface_init)(struct gk20a *g);
1270 int (*interface_disable)(struct gk20a *g);
1270 int (*reg_init)(struct gk20a *g); 1271 int (*reg_init)(struct gk20a *g);
1271 int (*shutdown)(struct gk20a *g); 1272 int (*shutdown)(struct gk20a *g);
1272 int (*early_init)(struct gk20a *g); 1273 int (*early_init)(struct gk20a *g);