mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-10 01:59:58 +00:00
525.78.01
This commit is contained in:
@@ -141,6 +141,20 @@ struct nvlink_link_change
|
||||
enum nvlink_link_change_type change_type;
|
||||
};
|
||||
|
||||
//
|
||||
// Structure representing Nvlink Error Threshold
|
||||
//
|
||||
struct nvlink_link_error_threshold
|
||||
{
|
||||
NvU8 thresholdMan;
|
||||
NvU8 thresholdExp;
|
||||
NvU8 timescaleMan;
|
||||
NvU8 timescaleExp;
|
||||
NvBool bInterruptEn;
|
||||
NvBool bUserConfig;
|
||||
NvBool bInterruptTrigerred; // Error threshold interrupt generated
|
||||
};
|
||||
|
||||
// nvlink link state
|
||||
struct nvlink_link
|
||||
{
|
||||
@@ -233,6 +247,8 @@ struct nvlink_link
|
||||
|
||||
//seed data for given nvlink
|
||||
NvU32 seedData[NVLINK_MAX_SEED_BUFFER_SIZE];
|
||||
|
||||
struct nvlink_link_error_threshold errorThreshold;
|
||||
};
|
||||
|
||||
// nvlink link handler ops
|
||||
|
||||
@@ -1047,7 +1047,7 @@ nvlink_core_powerdown_floorswept_conns_to_off
|
||||
if (numConnsToShutdown != 0)
|
||||
{
|
||||
nvlink_core_powerdown_intranode_conns_from_active_to_off(connsToShutdown, numConnsToShutdown, 0);
|
||||
nvlink_core_reset_intranode_conns(connsToShutdown, numConnsToShutdown, NVLINK_STATE_CHANGE_ASYNC);
|
||||
nvlink_core_reset_intranode_conns(connsToShutdown, numConnsToShutdown, NVLINK_STATE_CHANGE_SYNC);
|
||||
|
||||
for (j = 0; j < numConnsToShutdown; ++j)
|
||||
{
|
||||
@@ -1056,5 +1056,8 @@ nvlink_core_powerdown_floorswept_conns_to_off
|
||||
}
|
||||
}
|
||||
|
||||
nvlink_free(visitedConns);
|
||||
nvlink_free(connsToShutdown);
|
||||
|
||||
return NVL_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user