@@ -1823,50 +1823,6 @@ static void smu_v14_0_2_set_smu_mailbox_registers(struct smu_context *smu)
18231823 smu -> debug_resp_reg = SOC15_REG_OFFSET (MP1 , 0 , regMP1_SMN_C2PMSG_54 );
18241824}
18251825
1826- static int smu_v14_0_2_smu_send_bad_mem_page_num (struct smu_context * smu ,
1827- uint32_t size )
1828- {
1829- int ret = 0 ;
1830-
1831- /* message SMU to update the bad page number on SMUBUS */
1832- ret = smu_cmn_send_smc_msg_with_param (smu ,
1833- SMU_MSG_SetNumBadMemoryPagesRetired ,
1834- size , NULL );
1835- if (ret )
1836- dev_err (smu -> adev -> dev ,
1837- "[%s] failed to message SMU to update bad memory pages number\n" ,
1838- __func__ );
1839-
1840- return ret ;
1841- }
1842-
1843- static int smu_v14_0_2_send_bad_mem_channel_flag (struct smu_context * smu ,
1844- uint32_t size )
1845- {
1846- int ret = 0 ;
1847-
1848- /* message SMU to update the bad channel info on SMUBUS */
1849- ret = smu_cmn_send_smc_msg_with_param (smu ,
1850- SMU_MSG_SetBadMemoryPagesRetiredFlagsPerChannel ,
1851- size , NULL );
1852- if (ret )
1853- dev_err (smu -> adev -> dev ,
1854- "[%s] failed to message SMU to update bad memory pages channel info\n" ,
1855- __func__ );
1856-
1857- return ret ;
1858- }
1859-
1860- static ssize_t smu_v14_0_2_get_ecc_info (struct smu_context * smu ,
1861- void * table )
1862- {
1863- int ret = 0 ;
1864-
1865- // TODO
1866-
1867- return ret ;
1868- }
1869-
18701826static ssize_t smu_v14_0_2_get_gpu_metrics (struct smu_context * smu ,
18711827 void * * table )
18721828{
@@ -2014,12 +1970,9 @@ static const struct pptable_funcs smu_v14_0_2_ppt_funcs = {
20141970 .enable_gfx_features = smu_v14_0_2_enable_gfx_features ,
20151971 .set_mp1_state = smu_v14_0_2_set_mp1_state ,
20161972 .set_df_cstate = smu_v14_0_2_set_df_cstate ,
2017- .send_hbm_bad_pages_num = smu_v14_0_2_smu_send_bad_mem_page_num ,
2018- .send_hbm_bad_channel_flag = smu_v14_0_2_send_bad_mem_channel_flag ,
20191973#if 0
20201974 .gpo_control = smu_v14_0_gpo_control ,
20211975#endif
2022- .get_ecc_info = smu_v14_0_2_get_ecc_info ,
20231976};
20241977
20251978void smu_v14_0_2_set_ppt_funcs (struct smu_context * smu )
0 commit comments