Skip to content

Commit e023874

Browse files
YiPeng Chaialexdeucher
authored andcommitted
drm/amdgpu: support ACA logging ecc errors
support ACA logging ecc errors. Signed-off-by: YiPeng Chai <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 370fbff commit e023874

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/gpu/drm/amd/amdgpu/umc_v12_0.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,11 @@ static int umc_v12_0_aca_bank_parser(struct aca_handle *handle, struct aca_bank
510510
if (ret)
511511
return ret;
512512

513+
amdgpu_umc_update_ecc_status(adev,
514+
bank->regs[ACA_REG_IDX_STATUS],
515+
bank->regs[ACA_REG_IDX_IPID],
516+
bank->regs[ACA_REG_IDX_ADDR]);
517+
513518
ext_error_code = ACA_REG__STATUS__ERRORCODEEXT(status);
514519
count = ext_error_code == 0 ?
515520
ACA_REG__MISC0__ERRCNT(bank->regs[ACA_REG_IDX_MISC0]) : 1ULL;

0 commit comments

Comments
 (0)