diff options
| author | Xiang Liu <[email protected]> | 2025-03-24 09:19:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-26 21:44:41 +0000 |
| commit | aedc92be9621b31ccc90d79ee7f831944e6bfbef (patch) | |
| tree | 9eb6dcf4af7deade9952f49ed5085ba302473338 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
| parent | drm/amdgpu: Update ta ras block (diff) | |
| download | kernel-aedc92be9621b31ccc90d79ee7f831944e6bfbef.tar.gz kernel-aedc92be9621b31ccc90d79ee7f831944e6bfbef.zip | |
drm/amdgpu: Parse all deferred errors with UMC aca handle
We should only increase the deferred errors in UMC block.
Signed-off-by: Xiang Liu <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c index dc47f5fd4ea1..b4ad163f42a7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c @@ -195,6 +195,10 @@ static bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, { const struct aca_bank_ops *bank_ops = handle->bank_ops; + /* Parse all deferred errors with UMC aca handle */ + if (ACA_BANK_ERR_IS_DEFFERED(bank)) + return handle->hwip == ACA_HWIP_TYPE_UMC; + if (!aca_bank_hwip_is_matched(bank, handle->hwip)) return false; |
