Searched refs:ras_num_recs (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras_eeprom.c | 472 control->ras_num_recs = 0; in amdgpu_ras_eeprom_reset_table() 475 amdgpu_dpm_send_hbm_bad_pages_num(adev, control->ras_num_recs); in amdgpu_ras_eeprom_reset_table() 562 con->eeprom_control.ras_num_recs, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold() 673 a = control->ras_fri + control->ras_num_recs; in amdgpu_ras_eeprom_append_table() 723 control->ras_num_recs = 1 + (control->ras_max_record_count + b in amdgpu_ras_eeprom_append_table() 743 control->ras_num_recs >= ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header() 746 control->ras_num_recs, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header() 763 control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header() 766 control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header() 769 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 | 1909 debugfs_create_u32("ras_num_recs", 0444, dir, &eeprom->ras_num_recs); in amdgpu_ras_debugfs_create_ctrl_node() 2727 save_count = data->count - control->ras_num_recs; in amdgpu_ras_save_bad_pages() 2736 &data->bps[control->ras_num_recs], in amdgpu_ras_save_bad_pages() 2760 if (control->ras_num_recs == 0 || amdgpu_bad_page_threshold == 0) in amdgpu_ras_load_bad_pages() 2763 bps = kcalloc(control->ras_num_recs, sizeof(*bps), GFP_KERNEL); in amdgpu_ras_load_bad_pages() 2767 ret = amdgpu_ras_eeprom_read(control, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages() 2771 ret = amdgpu_ras_add_bad_pages(adev, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages() 3198 if (con->eeprom_control.ras_num_recs) { in amdgpu_ras_recovery_init() 3203 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_ras_recovery_init()
|
D | amdgpu_umc.c | 172 amdgpu_dpm_send_hbm_bad_pages_num(adev, con->eeprom_control.ras_num_recs); in amdgpu_umc_handle_bad_pages()
|