Home
last modified time | relevance | path

Searched refs:ras_num_recs (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c282 control->ras_num_recs = 0; in amdgpu_ras_eeprom_reset_table()
459 a = control->ras_fri + control->ras_num_recs; in amdgpu_ras_eeprom_append_table()
509 control->ras_num_recs = 1 + (control->ras_max_record_count + b in amdgpu_ras_eeprom_append_table()
529 control->ras_num_recs >= ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header()
532 control->ras_num_recs, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header()
538 control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE + control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header()
541 buf_size = control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header()
542 buf = kcalloc(control->ras_num_recs, RAS_TABLE_RECORD_SIZE, GFP_KERNEL); in amdgpu_ras_eeprom_update_header()
694 } else if (num > control->ras_num_recs) { in amdgpu_ras_eeprom_read()
696 num, control->ras_num_recs); in amdgpu_ras_eeprom_read()
[all …]
Damdgpu_ras_eeprom.h65 u32 ras_num_recs; member
Damdgpu_ras.c1847 save_count = data->count - control->ras_num_recs; in amdgpu_ras_save_bad_pages()
1851 &data->bps[control->ras_num_recs], in amdgpu_ras_save_bad_pages()
1875 if (control->ras_num_recs == 0 || amdgpu_bad_page_threshold == 0) in amdgpu_ras_load_bad_pages()
1878 bps = kcalloc(control->ras_num_recs, sizeof(*bps), GFP_KERNEL); in amdgpu_ras_load_bad_pages()
1882 ret = amdgpu_ras_eeprom_read(control, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages()
1886 ret = amdgpu_ras_add_bad_pages(adev, bps, control->ras_num_recs); in amdgpu_ras_load_bad_pages()
2011 if (con->eeprom_control.ras_num_recs) { in amdgpu_ras_recovery_init()
2017 adev->smu.ppt_funcs->send_hbm_bad_pages_num(&adev->smu, con->eeprom_control.ras_num_recs); in amdgpu_ras_recovery_init()
Damdgpu_umc.c136 adev->smu.ppt_funcs->send_hbm_bad_pages_num(&adev->smu, con->eeprom_control.ras_num_recs); in amdgpu_umc_process_ras_data_cb()