drm/amd/pm: add message smu to get ecc_table
authormziya <Mohammadzafar.ziya@amd.com>
Tue, 11 Jan 2022 07:15:13 +0000 (15:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jan 2022 22:22:25 +0000 (17:22 -0500)
commit3ddd0c90bafd9f2ae1ac9f1e67581537273dfed6
tree584c3c8bb0193774b8235c8bfda5a1f4e77536e2
parentc34242eea16f7d973501267142dd340cad3caeec
drm/amd/pm: add message smu to get ecc_table

support ECC TABLE message, this table include umc ras error count
and error address

V2:
Return after smu version check fail

V3:
Return -EOPNOTSUPP, if fail to get smc ver.

V4:
ECCTABLE typo corrected and sentence rephrased.

Signed-off-by: mziya <Mohammadzafar.ziya@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c