summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTejal Kudav <tkudav@nvidia.com>2018-05-24 08:50:28 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:06 -0400
commit0b2f2f06a7d0424359d1b6e275789ceef1a8a8c3 (patch)
tree989279d942ba31d0d3bef7f2fbbb74f75dff2c41 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent328a7bd3ffc9590c0c432724d45da9f25732c2a1 (diff)
gpu: nvgpu: nvlink: Add HAL for RXDET
RXDET is supported only on nvlink 2.2 devices and forward. Add HAL to run RXDET selectively based on chip. RXDET needs to be done after the links are out of reset but before any other link level initialization. minion_send_cmd is also made non-static to support RXDET functionality. JIRA NVLINK-160 Change-Id: Ic65b8dbc7281743f62072089ff3c805521ac9b38 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1729525 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@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 48f0008a..9b72f1a7 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1182,6 +1182,7 @@ struct gpu_ops {
1182 int (*discover_ioctrl)(struct gk20a *g); 1182 int (*discover_ioctrl)(struct gk20a *g);
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 /* API */ 1186 /* API */
1186 int (*link_early_init)(struct gk20a *g, unsigned long mask); 1187 int (*link_early_init)(struct gk20a *g, unsigned long mask);
1187 u32 (*link_get_mode)(struct gk20a *g, u32 link_id); 1188 u32 (*link_get_mode)(struct gk20a *g, u32 link_id);