Commit 6fe08f56 authored by YiPeng Chai's avatar YiPeng Chai Committed by Alex Deucher

drm/amd/pm: smu v13_0_6 supports ecc info by default

smu v13_0_6 supports ecc info by default.
Signed-off-by: default avatarYiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a8c77a12
...@@ -2864,6 +2864,13 @@ static int smu_v13_0_6_select_xgmi_plpd_policy(struct smu_context *smu, ...@@ -2864,6 +2864,13 @@ static int smu_v13_0_6_select_xgmi_plpd_policy(struct smu_context *smu,
return ret; return ret;
} }
static ssize_t smu_v13_0_6_get_ecc_info(struct smu_context *smu,
void *table)
{
/* Support ecc info by default */
return 0;
}
static const struct pptable_funcs smu_v13_0_6_ppt_funcs = { static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
/* init dpm */ /* init dpm */
.get_allowed_feature_mask = smu_v13_0_6_get_allowed_feature_mask, .get_allowed_feature_mask = smu_v13_0_6_get_allowed_feature_mask,
...@@ -2918,6 +2925,7 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = { ...@@ -2918,6 +2925,7 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
.i2c_init = smu_v13_0_6_i2c_control_init, .i2c_init = smu_v13_0_6_i2c_control_init,
.i2c_fini = smu_v13_0_6_i2c_control_fini, .i2c_fini = smu_v13_0_6_i2c_control_fini,
.send_hbm_bad_pages_num = smu_v13_0_6_smu_send_hbm_bad_page_num, .send_hbm_bad_pages_num = smu_v13_0_6_smu_send_hbm_bad_page_num,
.get_ecc_info = smu_v13_0_6_get_ecc_info,
}; };
void smu_v13_0_6_set_ppt_funcs(struct smu_context *smu) void smu_v13_0_6_set_ppt_funcs(struct smu_context *smu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment