Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c437 rai->ecc_page_threshold = con->bad_page_cnt_threshold; 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()
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()
774 control->ras_num_recs < ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_update_header()
775 control->tbl_rai.health_percent = ((ras->bad_page_cnt_threshold - in amdgpu_ras_eeprom_update_header()
777 ras->bad_page_cnt_threshold; in amdgpu_ras_eeprom_update_header()
1363 if (10 * control->ras_num_recs >= 9 * ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_init()
1366 ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_init()
1379 if (ras->bad_page_cnt_threshold > control->ras_num_recs) { in amdgpu_ras_eeprom_init()
[all …]
Damdgpu_ras.h415 uint32_t bad_page_cnt_threshold; member
Damdgpu_ras.c1499 &con->bad_page_cnt_threshold); in amdgpu_ras_debugfs_create_ctrl_node()
2282 con->bad_page_cnt_threshold = min(lower_32_bits(val), in amdgpu_ras_validate_threshold()
2285 con->bad_page_cnt_threshold = min_t(int, max_count, in amdgpu_ras_validate_threshold()