mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: disable nvlink support in safety build
Since nvlink support is not required for initial safety release, disable corresponding functionality. nvgpu_mss_nvlink_init_credits defn. and call is now compiled out using CONFIG_TEGRA_NVLINK config option. JIRA NVGPU-3062 Change-Id: I402ed123f07f96125d640fb340957da4828d714a Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2119584 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b6919ce302
commit
96268cb631
@@ -251,7 +251,6 @@ int nvgpu_nvlink_minion_load_ucode(struct gk20a *g,
|
||||
|
||||
return err;
|
||||
}
|
||||
#endif /* CONFIG_TEGRA_NVLINK */
|
||||
|
||||
void nvgpu_mss_nvlink_init_credits(struct gk20a *g)
|
||||
{
|
||||
@@ -287,6 +286,7 @@ void nvgpu_mss_nvlink_init_credits(struct gk20a *g)
|
||||
val = readl_relaxed(soc4 + 4);
|
||||
writel_relaxed(val, soc4 + 4);
|
||||
}
|
||||
#endif /* CONFIG_TEGRA_NVLINK */
|
||||
|
||||
int nvgpu_nvlink_deinit(struct gk20a *g)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user