mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-27 02:13:59 +00:00
530.30.02
This commit is contained in:
@@ -83,7 +83,18 @@ nvlink_core_check_link_state
|
||||
return NV_FALSE;
|
||||
}
|
||||
|
||||
if (crntTlLinkMode == NVLINK_LINKSTATE_HS)
|
||||
status = link->link_handlers->get_dl_link_mode(link, &crntDlLinkMode);
|
||||
if (status != NVL_SUCCESS)
|
||||
{
|
||||
NVLINK_PRINT((DBG_MODULE_NVLINK_CORE, NVLINK_DBG_LEVEL_ERRORS,
|
||||
"%s: Unable to get DL link mode for %s:%s\n",
|
||||
__FUNCTION__, link->dev->deviceName, link->linkName));
|
||||
return NV_FALSE;
|
||||
}
|
||||
|
||||
if (crntTlLinkMode == NVLINK_LINKSTATE_HS &&
|
||||
(crntDlLinkMode == NVLINK_LINKSTATE_HS ||
|
||||
crntDlLinkMode == NVLINK_LINKSTATE_SLEEP))
|
||||
{
|
||||
return NV_TRUE;
|
||||
}
|
||||
|
||||
@@ -995,12 +995,9 @@ nvlink_core_powerdown_floorswept_conns_to_off
|
||||
conn = NULL;
|
||||
nvlink_core_get_intranode_conn(links[j], &(conn));
|
||||
if (conn == NULL ||
|
||||
_nvlink_core_check_if_conn_in_array(visitedConns, connCount, conn) ||
|
||||
_nvlink_core_check_if_conn_in_array(visitedConns, connCount, conn) ||
|
||||
(conn->end0 == NULL || conn->end1 == NULL))
|
||||
{
|
||||
NVLINK_PRINT((DBG_MODULE_NVLINK_CORE, NVLINK_DBG_LEVEL_ERRORS,
|
||||
"%s: AC debug -- conn gotten: 0x%x\n",
|
||||
__FUNCTION__, conn));
|
||||
continue;
|
||||
}
|
||||
else if(nvlink_core_check_intranode_conn_state(conn, NVLINK_LINKSTATE_OFF) ==
|
||||
|
||||
Reference in New Issue
Block a user