Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c461 rai->ecc_page_threshold = con->bad_page_cnt_threshold; in amdgpu_ras_eeprom_reset_table()
567 con->eeprom_control.ras_num_bad_pages, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold()
759 control->ras_num_bad_pages > ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header()
762 control->ras_num_bad_pages, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header()
818 control->ras_num_bad_pages <= ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_update_header()
819 control->tbl_rai.health_percent = ((ras->bad_page_cnt_threshold - in amdgpu_ras_eeprom_update_header()
821 ras->bad_page_cnt_threshold; in amdgpu_ras_eeprom_update_header()
1452 ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check()
1468 if (ras->bad_page_cnt_threshold >= control->ras_num_bad_pages) { in amdgpu_ras_eeprom_check()
1479 ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check()
[all …]
H A Damdgpu_ras.h530 uint32_t bad_page_cnt_threshold; member
H A Damdgpu_ras.c1968 &con->bad_page_cnt_threshold); in amdgpu_ras_debugfs_create_ctrl_node()
3135 con->bad_page_cnt_threshold = min(lower_32_bits(val), in amdgpu_ras_validate_threshold()
3138 con->bad_page_cnt_threshold = ((con->reserved_pages_in_bytes) >> 21) << 4; in amdgpu_ras_validate_threshold()
3140 con->bad_page_cnt_threshold = min_t(int, max_count, in amdgpu_ras_validate_threshold()