]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: reduce memory usage for umc_lookup_bad_pages_in_a_row
authorTao Zhou <tao.zhou1@amd.com>
Fri, 18 Oct 2024 08:21:26 +0000 (16:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:46 +0000 (10:26 -0500)
commit76723fbc5f8632570c6079a2f497c2f2132bce98
tree741be5b40aba395120d1df4e138ae5c36192dd71
parent4e7812e2372bc02809ca6eed285096baffee0ebf
drm/amdgpu: reduce memory usage for umc_lookup_bad_pages_in_a_row

The function handles one page in one time, allocating umc.retire_unit
bad page records is enough.

Signed-off-by: Tao Zhou <tao.zhou1@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_umc.c