mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-16 14:15:02 -05:00
drm/amd/ras: Add ras support for nbio v7_9_1
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>
This commit is contained in:
committed by
Alex Deucher
parent
2f46c547e4
commit
d7f105a402
@@ -172,12 +172,13 @@ static int amdgpu_ras_mgr_init_nbio_config(struct amdgpu_device *adev,
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ static const struct ras_nbio_ip_func *ras_nbio_get_ip_funcs(
|
||||
{
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user