]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add bad page count threshold in module parameter(v3)
authorGuchun Chen <guchun.chen@amd.com>
Tue, 21 Jul 2020 10:02:00 +0000 (18:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:25:41 +0000 (17:25 -0400)
commit0b37781b8ae35fe6b098b9855b712d6d57073770
tree0c34c597da3a67e28c3d91bd0253b4245bd77085
parentf46393f2de020c3e63f64332c475b5af4c8450c2
drm/amdgpu: add bad page count threshold in module parameter(v3)

bad_page_threshold could be configured to enable/disable the
associated bad page retirement feature in RAS.

When it's -1, ras will use typical bad page failure value to
handle bad page retirement.

When it's 0, disable bad page retirement, and no bad page
will be recorded and saved.

For other valid value, driver will use this manual value
as the threshold value of totoal bad pages.

v2: correct documentation of this parameter.

v3: remove confused statement in documentation.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c