]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Correct the loss of aca bank reg info
authorCe Sun <cesun102@amd.com>
Wed, 20 Aug 2025 09:18:57 +0000 (17:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:47 +0000 (13:57 -0400)
commitd8442bcad0764c5613e9f8b2356f3e0a48327e20
tree736e390c25977ac10c595a3d57ac6ffea3bf791f
parent0989b764f43d4de2c6665c15165c251d9cfde9c0
drm/amdgpu: Correct the loss of aca bank reg info

By polling, poll ACA bank count to ensure that valid
ACA bank reg info can be obtained

v2: add corresponding delay before send msg to SMU to query mca bank info
(Stanley)

v3: the loop cannot exit. (Thomas)

v4: remove amdgpu_aca_clear_bank_count. (Kevin)

v5: continuously inject ce. If a creation interruption
occurs at this time, bank reg info will be lost. (Thomas)
v5: each cycle is delayed by 100ms. (Tao)

Signed-off-by: Ce Sun <cesun102@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.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c