Skip to content

Commit ffd6bde

Browse files
Hawking Zhangalexdeucher
authored andcommitted
drm/amdgpu: fallback to old RAS error message for aqua_vanjaram
So driver doesn't generate incorrect message until the new format is settled down for aqua_vanjaram Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent ab43213 commit ffd6bde

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,8 @@ int amdgpu_ras_query_error_status(struct amdgpu_device *adev,
10521052
info->ce_count = obj->err_data.ce_count;
10531053

10541054
if (err_data.ce_count) {
1055-
if (adev->smuio.funcs &&
1055+
if (!adev->aid_mask &&
1056+
adev->smuio.funcs &&
10561057
adev->smuio.funcs->get_socket_id &&
10571058
adev->smuio.funcs->get_die_id) {
10581059
dev_info(adev->dev, "socket: %d, die: %d "
@@ -1072,7 +1073,8 @@ int amdgpu_ras_query_error_status(struct amdgpu_device *adev,
10721073
}
10731074
}
10741075
if (err_data.ue_count) {
1075-
if (adev->smuio.funcs &&
1076+
if (!adev->aid_mask &&
1077+
adev->smuio.funcs &&
10761078
adev->smuio.funcs->get_socket_id &&
10771079
adev->smuio.funcs->get_die_id) {
10781080
dev_info(adev->dev, "socket: %d, die: %d "

0 commit comments

Comments
 (0)