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.c473 rai->ecc_page_threshold = con->bad_page_cnt_threshold; in amdgpu_ras_eeprom_reset_table()
594 if (con->eeprom_control.ras_num_bad_pages > con->bad_page_cnt_threshold) in amdgpu_ras_eeprom_check_err_threshold()
596 con->eeprom_control.ras_num_bad_pages, con->bad_page_cnt_threshold); in amdgpu_ras_eeprom_check_err_threshold()
787 control->ras_num_bad_pages > ras->bad_page_cnt_threshold) { in amdgpu_ras_eeprom_update_header()
790 control->ras_num_bad_pages, ras->bad_page_cnt_threshold); in amdgpu_ras_eeprom_update_header()
851 control->ras_num_bad_pages <= ras->bad_page_cnt_threshold) in amdgpu_ras_eeprom_update_header()
852 control->tbl_rai.health_percent = ((ras->bad_page_cnt_threshold - in amdgpu_ras_eeprom_update_header()
854 ras->bad_page_cnt_threshold; in amdgpu_ras_eeprom_update_header()
925 control->ras_num_bad_pages > con->bad_page_cnt_threshold) { in amdgpu_ras_smu_eeprom_append()
928 control->ras_num_bad_pages, con->bad_page_cnt_threshold); in amdgpu_ras_smu_eeprom_append()
[all …]
H A Damdgpu_ras.h565 uint32_t bad_page_cnt_threshold; member
H A Damdgpu_ras.c2183 &con->bad_page_cnt_threshold); in amdgpu_ras_debugfs_create_ctrl_node()
3496 con->bad_page_cnt_threshold = min(lower_32_bits(val), in amdgpu_ras_validate_threshold()
3499 con->bad_page_cnt_threshold = ((con->reserved_pages_in_bytes) >> 21) << 4; in amdgpu_ras_validate_threshold()
3501 con->bad_page_cnt_threshold = min_t(int, max_count, in amdgpu_ras_validate_threshold()