@@ -2114,50 +2114,6 @@ static void smu_v14_0_2_set_smu_mailbox_registers(struct smu_context *smu)
21142114 smu -> debug_resp_reg = SOC15_REG_OFFSET (MP1 , 0 , regMP1_SMN_C2PMSG_54 );
21152115}
21162116
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-
21612117static ssize_t smu_v14_0_2_get_gpu_metrics (struct smu_context * smu ,
21622118 void * * table )
21632119{
@@ -2896,12 +2852,9 @@ static const struct pptable_funcs smu_v14_0_2_ppt_funcs = {
28962852 .enable_gfx_features = smu_v14_0_2_enable_gfx_features ,
28972853 .set_mp1_state = smu_v14_0_2_set_mp1_state ,
28982854 .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 ,
29012855#if 0
29022856 .gpo_control = smu_v14_0_gpo_control ,
29032857#endif
2904- .get_ecc_info = smu_v14_0_2_get_ecc_info ,
29052858};
29062859
29072860void smu_v14_0_2_set_ppt_funcs (struct smu_context * smu )
0 commit comments