diff options
| author | Hawking Zhang <[email protected]> | 2025-01-26 08:32:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-17 19:09:29 +0000 |
| commit | 56316ee91bcefaf535dbe8ba601cf5f14051d09a (patch) | |
| tree | bd3a569442c55f4858e6d6ac7ad48c705e679484 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
| parent | drm/amdgpu: Optimize the enablement of GECC (diff) | |
| download | kernel-56316ee91bcefaf535dbe8ba601cf5f14051d09a.tar.gz kernel-56316ee91bcefaf535dbe8ba601cf5f14051d09a.zip | |
drm/amdgpu: Include ACA error type in aca bank
ACA error types managed by driver a direct 1:1
correspondence with those managed by firmware.
To address this, for each ACA bank, include
both the ACA error type and the ACA SMU type.
This addition is useful for creating CPER records.
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Yang Wang <[email protected]>
Reviewed-by: Tao Zhou <[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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c index 9d6345146495..1a26b8ad14cb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c @@ -168,7 +168,7 @@ static int aca_smu_get_valid_aca_banks(struct amdgpu_device *adev, enum aca_smu_ if (ret) return ret; - bank.type = type; + bank.smu_err_type = type; aca_smu_bank_dump(adev, i, count, &bank, qctx); |
