drm/amdgpu: make err_data structure built-in for ras_manager
authorYang Wang <kevinyang.wang@amd.com>
Wed, 11 Oct 2023 06:09:20 +0000 (14:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:34:13 +0000 (11:34 -0400)
commit1a00cfab3772227d64a72a8e47df617dcdb2ba30
tree4de7297fece0dd9201d5d5de351a1fa29c1e607d
parente341631f4a3129538cc398305649d54e6c0937d4
drm/amdgpu: make err_data structure built-in for ras_manager

(No effect outside the ras_mgr data structure)

Since a new member was added to the ras_err_data data structure,
it becomes unreasonable for the ras_mgr instance to contain this data,
because ras mgr only uses the 2 member information of ue_count/ce_count in err_data.

This patch changes the code err_data into built-in structure members,
making the code directly compatible.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h