Home
last modified time | relevance | path

Searched refs:bad_page_cnt_threshold (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c457 rai->ecc_page_threshold = con->bad_page_cnt_threshold; in amdgpu_ras_eeprom_reset_table()
563 con->eeprom_control.ras_num_bad_pages, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold()
751 control->ras_num_bad_pages >= ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header()
754 control->ras_num_bad_pages, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header()
809 control->ras_num_bad_pages < ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_update_header()
810 control->tbl_rai.health_percent = ((ras->bad_page_cnt_threshold - in amdgpu_ras_eeprom_update_header()
812 ras->bad_page_cnt_threshold; in amdgpu_ras_eeprom_update_header()
1436 if (10 * control->ras_num_bad_pages >= 9 * ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_check()
1439 ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check()
1454 if (ras->bad_page_cnt_threshold > control->ras_num_bad_pages) { in amdgpu_ras_eeprom_check()
[all …]
H A Damdgpu_ras.h529 uint32_t bad_page_cnt_threshold; member
H A Damdgpu_ras.c1964 &con->bad_page_cnt_threshold); in amdgpu_ras_debugfs_create_ctrl_node()
3106 con->bad_page_cnt_threshold = min(lower_32_bits(val), in amdgpu_ras_validate_threshold()
3109 con->bad_page_cnt_threshold = min_t(int, max_count, in amdgpu_ras_validate_threshold()