Add ras support for nbio v7_9_1.
Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
switch (config->nbio_ip_version) {
case IP_VERSION(7, 9, 0):
+ case IP_VERSION(7, 9, 1):
nbio_cfg->nbio_sys_fn = &amdgpu_ras_nbio_sys_func_v7_9;
break;
default:
RAS_DEV_ERR(adev,
"The nbio(0x%x) ras config is not right!\n",
- config->mp1_ip_version);
+ config->nbio_ip_version);
ret = -EINVAL;
break;
}
{
switch (ip_version) {
case IP_VERSION(7, 9, 0):
+ case IP_VERSION(7, 9, 1):
return &ras_nbio_v7_9;
default:
RAS_DEV_ERR(ras_core->dev,