Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c1767 int tmp_threshold = amdgpu_bad_page_threshold; in amdgpu_ras_validate_threshold() local
1789 if (tmp_threshold < -1) in amdgpu_ras_validate_threshold()
1790 tmp_threshold = -1; in amdgpu_ras_validate_threshold()
1791 else if (tmp_threshold > max_length) in amdgpu_ras_validate_threshold()
1792 tmp_threshold = max_length; in amdgpu_ras_validate_threshold()
1794 if (tmp_threshold == -1) { in amdgpu_ras_validate_threshold()
1800 con->bad_page_cnt_threshold = tmp_threshold; in amdgpu_ras_validate_threshold()