summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
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/gv100/hal_gv100.c
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/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 9b38f881..3d47cc40 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -832,6 +832,7 @@ static const struct gpu_ops gv100_ops = {
832 .discover_link = gv100_nvlink_discover_link, 832 .discover_link = gv100_nvlink_discover_link,
833 .init = gv100_nvlink_init, 833 .init = gv100_nvlink_init,
834 .isr = gv100_nvlink_isr, 834 .isr = gv100_nvlink_isr,
835 .rxdet = NULL,
835 /* API */ 836 /* API */
836 .link_early_init = gv100_nvlink_link_early_init, 837 .link_early_init = gv100_nvlink_link_early_init,
837 .link_get_state = gv100_nvlink_link_get_state, 838 .link_get_state = gv100_nvlink_link_get_state,