--- zzzz-none-000/linux-4.4.60/drivers/staging/android/ion/Kconfig 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/drivers/staging/android/ion/Kconfig 2021-02-04 17:41:59.000000000 +0000 @@ -33,3 +33,24 @@ help Choose this option if you wish to use ion on an nVidia Tegra. +config ION_POOL_CACHE_POLICY + bool "Ion set page pool cache policy" + depends on ION && X86 + default y if X86 + help + Choose this option if need to explicity set cache policy of the + pages in the page pool. + +config ION_MSM + tristate "Ion for MSM" + depends on ARCH_QCOM && ION + select MSM_SECURE_BUFFER + help + Choose this option if you wish to use ion on an MSM target. + +config ALLOC_BUFFERS_IN_4K_CHUNKS + bool "Turns off allocation optimization and allocate only 4K pages" + depends on ARCH_QCOM && ION + help + Choose this option if you want ION to allocate buffers in + only 4KB chunks.