mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: update gops.mssnvlink
Introduce HAL function gops.mssnvlink.get_links, this function retrieves the number of nvlinks supported by the chip along with their base addresses. Update ga10b_mssnvlink_init_soc_credits to call mssnvlink.get_links. Jira NVGPU-6641 Change-Id: I4ff857925f126bf41dc83eebc5723403244f66b0 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2618368 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1bcc22ab19
commit
3e7643bb9c
@@ -1678,6 +1678,7 @@ static const struct gops_grmgr ga10b_ops_grmgr = {
|
||||
|
||||
#ifdef CONFIG_NVGPU_HAL_NON_FUSA
|
||||
static const struct gops_mssnvlink ga10b_ops_mssnvlink = {
|
||||
.get_links = ga10b_mssnvlink_get_links,
|
||||
.init_soc_credits = ga10b_mssnvlink_init_soc_credits
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user