]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable page reservation when amdgpu_bad_page_threshold = 0
authorGuchun Chen <guchun.chen@amd.com>
Mon, 27 Jul 2020 06:56:27 +0000 (14:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Aug 2020 21:27:20 +0000 (17:27 -0400)
commit4355c433efd1cdd80ac1cd7c048ea563b669c441
treec1c52d291227b7626a73a87bc14e6f2d3df4ae58
parent5a49b4cbfb8e03de0a2bcffead4292413d225941
drm/amdgpu: disable page reservation when amdgpu_bad_page_threshold = 0

When amdgpu_bad_page_threshold = 0, bad page reservation stuffs
are skipped in either UMC ECC irq or page retirement calling of
sync flood isr.

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_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c