summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTejal Kudav <tkudav@nvidia.com>2018-05-25 07:41:14 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:06 -0400
commit1e889871bc0ec3af05280f27497c0e7bd7a023b5 (patch)
treea992e96bcfe9d88bef49076a644fbb13703e519b /drivers/gpu/nvgpu/gk20a/gk20a.h
parent0b2f2f06a7d0424359d1b6e275789ceef1a8a8c3 (diff)
gpu: nvgpu: nvlink: Add HAL for pll setup
Before nvlink 2.2, driver was responsible for setting the NVLink clocks during NVLink initialization. For the purpose of security, NVLink PLL handling is moved to Minion in nvlink 2.2 and driver should stop writing to these registers. JIRA NVLINK-167 Change-Id: I18392a29c322da55053037bfde62c8f74ee75288 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1730597 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> 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 9b72f1a7..e29d7b07 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1183,6 +1183,7 @@ struct gpu_ops {
1183 int (*discover_link)(struct gk20a *g); 1183 int (*discover_link)(struct gk20a *g);
1184 int (*isr)(struct gk20a *g); 1184 int (*isr)(struct gk20a *g);
1185 int (*rxdet)(struct gk20a *g, u32 link_id); 1185 int (*rxdet)(struct gk20a *g, u32 link_id);
1186 int (*setup_pll)(struct gk20a *g, unsigned long link_mask);
1186 /* API */ 1187 /* API */
1187 int (*link_early_init)(struct gk20a *g, unsigned long mask); 1188 int (*link_early_init)(struct gk20a *g, unsigned long mask);
1188 u32 (*link_get_mode)(struct gk20a *g, u32 link_id); 1189 u32 (*link_get_mode)(struct gk20a *g, u32 link_id);