@@ -2114,50 +2114,6 @@ static void smu_v14_0_2_set_smu_mailbox_registers(struct smu_context *smu)
2114
2114
smu -> debug_resp_reg = SOC15_REG_OFFSET (MP1 , 0 , regMP1_SMN_C2PMSG_54 );
2115
2115
}
2116
2116
2117
- static int smu_v14_0_2_smu_send_bad_mem_page_num (struct smu_context * smu ,
2118
- uint32_t size )
2119
- {
2120
- int ret = 0 ;
2121
-
2122
- /* message SMU to update the bad page number on SMUBUS */
2123
- ret = smu_cmn_send_smc_msg_with_param (smu ,
2124
- SMU_MSG_SetNumBadMemoryPagesRetired ,
2125
- size , NULL );
2126
- if (ret )
2127
- dev_err (smu -> adev -> dev ,
2128
- "[%s] failed to message SMU to update bad memory pages number\n" ,
2129
- __func__ );
2130
-
2131
- return ret ;
2132
- }
2133
-
2134
- static int smu_v14_0_2_send_bad_mem_channel_flag (struct smu_context * smu ,
2135
- uint32_t size )
2136
- {
2137
- int ret = 0 ;
2138
-
2139
- /* message SMU to update the bad channel info on SMUBUS */
2140
- ret = smu_cmn_send_smc_msg_with_param (smu ,
2141
- SMU_MSG_SetBadMemoryPagesRetiredFlagsPerChannel ,
2142
- size , NULL );
2143
- if (ret )
2144
- dev_err (smu -> adev -> dev ,
2145
- "[%s] failed to message SMU to update bad memory pages channel info\n" ,
2146
- __func__ );
2147
-
2148
- return ret ;
2149
- }
2150
-
2151
- static ssize_t smu_v14_0_2_get_ecc_info (struct smu_context * smu ,
2152
- void * table )
2153
- {
2154
- int ret = 0 ;
2155
-
2156
- // TODO
2157
-
2158
- return ret ;
2159
- }
2160
-
2161
2117
static ssize_t smu_v14_0_2_get_gpu_metrics (struct smu_context * smu ,
2162
2118
void * * table )
2163
2119
{
@@ -2896,12 +2852,9 @@ static const struct pptable_funcs smu_v14_0_2_ppt_funcs = {
2896
2852
.enable_gfx_features = smu_v14_0_2_enable_gfx_features ,
2897
2853
.set_mp1_state = smu_v14_0_2_set_mp1_state ,
2898
2854
.set_df_cstate = smu_v14_0_2_set_df_cstate ,
2899
- .send_hbm_bad_pages_num = smu_v14_0_2_smu_send_bad_mem_page_num ,
2900
- .send_hbm_bad_channel_flag = smu_v14_0_2_send_bad_mem_channel_flag ,
2901
2855
#if 0
2902
2856
.gpo_control = smu_v14_0_gpo_control ,
2903
2857
#endif
2904
- .get_ecc_info = smu_v14_0_2_get_ecc_info ,
2905
2858
};
2906
2859
2907
2860
void smu_v14_0_2_set_ppt_funcs (struct smu_context * smu )
0 commit comments