diff options
author | Tejal Kudav <tkudav@nvidia.com> | 2018-05-30 02:55:34 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:41:28 -0400 |
commit | 69f481ded8ccb65e01effa5fe3b8ea7771e8defe (patch) | |
tree | 75c71cf23f85a24b42fe41f3345b685c3852f70b /drivers | |
parent | 4607098c3a889b815dc85035649856f225fffb0b (diff) |
gpu: nvgpu: Remove check to disallow gv100 link0/1
On GV100, we could not enable reflck repeater at source of PLL
which is shared by link 0/1. So we do not allow link 0 and 1 to
be used on GV100. This refclk repeater is present only on GV100.
Remove the check as we currently use link3 on GV100 and do not
plan to use any other link.
JIRA NVLINK-162
Change-Id: I9ffcc0b20d084a208271d2c594ec64b5bafaabfb
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1734538
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')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/nvlink_gv100.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c index e5e16e13..7258b9e9 100644 --- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c +++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c | |||
@@ -791,12 +791,6 @@ static u32 gv100_nvlink_minion_init_uphy(struct gk20a *g, unsigned long mask, | |||
791 | 791 | ||
792 | link_enable = __gv100_nvlink_get_link_reset_mask(g); | 792 | link_enable = __gv100_nvlink_get_link_reset_mask(g); |
793 | 793 | ||
794 | /* Cannot use links 0/1 without refclk buffer */ | ||
795 | if (mask & (BIT(1)|BIT(0))) { | ||
796 | nvgpu_err(g, "links 0/1 not supported on GV100"); | ||
797 | return -EINVAL; | ||
798 | } | ||
799 | |||
800 | for_each_set_bit(link_id, &mask, 32) { | 794 | for_each_set_bit(link_id, &mask, 32) { |
801 | master_pll = g->nvlink.links[link_id].pll_master_link_id; | 795 | master_pll = g->nvlink.links[link_id].pll_master_link_id; |
802 | slave_pll = g->nvlink.links[link_id].pll_slave_link_id; | 796 | slave_pll = g->nvlink.links[link_id].pll_slave_link_id; |