Searched refs:ras_num_recs (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 452 control->ras_num_recs = 0; in amdgpu_ras_eeprom_reset_table() 455 amdgpu_dpm_send_hbm_bad_pages_num(adev, control->ras_num_recs); in amdgpu_ras_eeprom_reset_table() 542 con->eeprom_control.ras_num_recs, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold() 652 a = control->ras_fri + control->ras_num_recs; in amdgpu_ras_eeprom_append_table() 702 control->ras_num_recs = 1 + (control->ras_max_record_count + b in amdgpu_ras_eeprom_append_table() 722 control->ras_num_recs >= ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header() 725 control->ras_num_recs, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header() 736 control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header() 739 control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header() 742 buf_size = control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header() [all …]
|
D | amdgpu_ras_eeprom.h | 83 u32 ras_num_recs; member
|
D | amdgpu_ras.c | 1500 debugfs_create_u32("ras_num_recs", 0444, dir, &eeprom->ras_num_recs); in amdgpu_ras_debugfs_create_ctrl_node() 2169 save_count = data->count - control->ras_num_recs; in amdgpu_ras_save_bad_pages() 2178 &data->bps[control->ras_num_recs], in amdgpu_ras_save_bad_pages() 2202 if (control->ras_num_recs == 0 || amdgpu_bad_page_threshold == 0) in amdgpu_ras_load_bad_pages() 2205 bps = kcalloc(control->ras_num_recs, sizeof(*bps), GFP_KERNEL); in amdgpu_ras_load_bad_pages() 2209 ret = amdgpu_ras_eeprom_read(control, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages() 2213 ret = amdgpu_ras_add_bad_pages(adev, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages() 2340 if (con->eeprom_control.ras_num_recs) { in amdgpu_ras_recovery_init() 2345 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_ras_recovery_init()
|
D | amdgpu_umc.c | 152 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_umc_do_page_retirement()
|