Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b35e4dc authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

mm/Kconfig: Relax CMA optimization dependencies



The CMA performance optimizations depend on QGKI, which
prevents them from being enabled on configurations that don't
have a notion of GKI and QGKI. Thus, remove this dependency.
This shouldn't cause any problems with the ABI surface with
respect to GKI targets as the configs still have to be enabled
explicitly anyway.

Change-Id: I1bea32ccf23e485f491dfb27422f83d0919aedd6
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent ad8b0e3f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -532,7 +532,7 @@ config CMA_AREAS

config CMA_DIRECT_UTILIZATION
	bool "Allow clients to directly use CMA for page allocations"
	depends on CMA && QGKI
	depends on CMA
	help
	  CMA pages are currently used as a fallback for moveable page
	  allocations only when all regular moveable pages have been
@@ -549,7 +549,7 @@ config CMA_DIRECT_UTILIZATION

config CMA_PCP_LISTS
	bool "Create PCP lists for CMA memory"
	depends on CMA && CMA_DIRECT_UTILIZATION && QGKI
	depends on CMA && CMA_DIRECT_UTILIZATION
	help
	  Improve memory utilization by creating PCP lists that contain CMA
	  pages to satisfy order-0 allocations when appropriate. Increased