diff options
author | Vamsidhar reddy Gaddam <gvamsi@google.com> | 2023-12-20 12:42:26 +0000 |
---|---|---|
committer | Vamsidhar reddy Gaddam <gvamsi@google.com> | 2024-01-05 09:19:17 +0000 |
commit | 11473542814286e59a89a70c969fb50a25ba921f (patch) | |
tree | bd4aa60e7d3dc895d82a36fcea0026569e3a04aa /mali_kbase/Kconfig | |
parent | 8768eedce66a4373c96f35c8dfb73d4668703180 (diff) | |
parent | 049a542207ed694271316782397b78b2e202086a (diff) | |
download | gpu-11473542814286e59a89a70c969fb50a25ba921f.tar.gz |
Merge branch 'upstream' into HEAD
Update KMD to R47P0
Bug: 315267052
Test: Outlined in go/pixel-gpu-kmd-r47p0
Change-Id: I89454c4c862033fe330b260a9bc6cc777a3ca231
Signed-off-by: Vamsidhar reddy Gaddam <gvamsi@google.com>
Diffstat (limited to 'mali_kbase/Kconfig')
-rw-r--r-- | mali_kbase/Kconfig | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/mali_kbase/Kconfig b/mali_kbase/Kconfig index bb25ef4..0ea576e 100644 --- a/mali_kbase/Kconfig +++ b/mali_kbase/Kconfig @@ -124,7 +124,7 @@ config MALI_MIDGARD_ENABLE_TRACE config MALI_ARBITER_SUPPORT bool "Enable arbiter support for Mali" - depends on MALI_MIDGARD && !MALI_CSF_SUPPORT + depends on MALI_MIDGARD default n help Enable support for the arbiter interface in the driver. @@ -173,32 +173,20 @@ menuconfig MALI_EXPERT if MALI_EXPERT -config LARGE_PAGE_ALLOC_OVERRIDE - bool "Override default setting of 2MB pages" - depends on MALI_MIDGARD && MALI_EXPERT - default n - help - An override config for LARGE_PAGE_ALLOC config. - When LARGE_PAGE_ALLOC_OVERRIDE is Y, 2MB page allocation will be - enabled by LARGE_PAGE_ALLOC. When this is N, the feature will be - enabled when GPU HW satisfies requirements. - - If in doubt, say N - -config LARGE_PAGE_ALLOC - bool "Attempt to allocate 2MB pages" +config LARGE_PAGE_SUPPORT + bool "Support for 2MB page allocations" depends on MALI_MIDGARD && MALI_EXPERT - default n + default y help - Rather than allocating all GPU memory page-by-page, attempt to - allocate 2MB pages from the kernel. This reduces TLB pressure and - helps to prevent memory fragmentation. + Rather than allocating all GPU memory page-by-page, allow the system + to decide whether to attempt to allocate 2MB pages from the kernel. + This reduces TLB pressure. - Note this config applies only when LARGE_PAGE_ALLOC_OVERRIDE config - is enabled and enabling this on a GPU HW that does not satisfy - requirements can cause serious problem. + Note that this option only enables the support for the module parameter + and does not necessarily mean that 2MB pages will be used automatically. + This depends on GPU support. - If in doubt, say N + If in doubt, say Y. config PAGE_MIGRATION_SUPPORT bool "Enable support for page migration" @@ -216,16 +204,6 @@ config PAGE_MIGRATION_SUPPORT If in doubt, say Y. To strip out page migration symbols and support, say N. -config MALI_MEMORY_FULLY_BACKED - bool "Enable memory fully physically-backed" - depends on MALI_MIDGARD && MALI_EXPERT - default n - help - This option enables full physical backing of all virtual - memory allocations in the kernel. Notice that this build - option only affects allocations of grow-on-GPU-page-fault - memory. - config MALI_CORESTACK bool "Enable support of GPU core stack power control" depends on MALI_MIDGARD && MALI_EXPERT |