summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorLuben Tuikov <luben.tuikov@amd.com>2021-04-13 08:40:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-15 16:32:44 -0400
commit7fb6407145479dad41deecb5919d248539e38667 (patch)
treefae937b2ef49c8c542793359cfad3d739c2c6eb5 /drivers/clocksource
parent80b0cd0fb97ec3c02b0f2c4dc26fe3e8be94dc01 (diff)
drm/amdgpu: Add bad_page_cnt_threshold to debugfs
Add bad_page_cnt_threshold to debugfs, an optional file system used for debugging, for reporting purposes only--it usually matches the size of EEPROM but may be different depending on the "bad_page_threshold" kernel module option. The "bad_page_cnt_threshold" is a dynamically computed value. It depends on three things: the VRAM size; the size of the EEPROM (or the size allocated to the RAS table therein); and the "bad_page_threshold" module parameter. It is a dynamically computed value, when the amdgpu module is run, on which further parameters and logic depend, and as such it is helpful to see the dynamically computed value in debugfs. Cc: Alexander Deucher <Alexander.Deucher@amd.com> Cc: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions