Loading drivers/gpu/msm/kgsl_pool.c +2 −4 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. */ #include <asm/cacheflush.h> Loading Loading @@ -176,9 +176,7 @@ kgsl_pool_reduce(unsigned int target_pages, bool exit) if (!pool->allocation_allowed && !exit) continue; total_pages -= pcount; nr_removed = total_pages - target_pages; nr_removed = total_pages - target_pages - pcount; if (nr_removed <= 0) return pcount; Loading Loading
drivers/gpu/msm/kgsl_pool.c +2 −4 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. */ #include <asm/cacheflush.h> Loading Loading @@ -176,9 +176,7 @@ kgsl_pool_reduce(unsigned int target_pages, bool exit) if (!pool->allocation_allowed && !exit) continue; total_pages -= pcount; nr_removed = total_pages - target_pages; nr_removed = total_pages - target_pages - pcount; if (nr_removed <= 0) return pcount; Loading