drm/amdgpu: No longer insert ras blocks into ras_list if it already exists in ras_list
authoryipechai <YiPeng.Chai@amd.com>
Wed, 12 Jan 2022 02:19:07 +0000 (10:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:52:04 +0000 (17:52 -0500)
commitdf4f0041c6ef497e598a67e367db835489162754
treebb89d1e28c0f91fc600cddbde1b07d84f7942810
parentdf01fe73ee98daf00c94189967550bd2d2098912
drm/amdgpu: No longer insert ras blocks into ras_list if it already exists in ras_list

No longer insert ras blocks into ras_list if it already exists in ras_list.

Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c