summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2023-08-28 09:38:40 +0300
committerRichard Weinberger <richard@nod.at>2023-10-28 23:47:43 +0300
commit415e4723c4325464d489c1ef3335eb6679905471 (patch)
tree05c791f028178ac08503877513cdfeac48b91fe1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parenta2ea69dac674df0fba59c66146a21145108a85ed (diff)
downloadlinux-415e4723c4325464d489c1ef3335eb6679905471.tar.xz
ubi: fastmap: Remove unneeded break condition while filling pools
Change pool filling stop condition. Commit d09e9a2bddba ("ubi: fastmap: Fix high cpu usage of ubi_bgt by making sure wl_pool not empty") reserves fastmap data PEBs after filling 1 PEB in wl_pool. Now wait_free_pebs_for_pool() makes enough free PEBs before filling pool, there will still be at least 1 PEB in pool and 1 PEB in wl_pool after doing ubi_refill_pools(). Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions