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/Mconfig | |
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/Mconfig')
-rw-r--r-- | mali_kbase/Mconfig | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/mali_kbase/Mconfig b/mali_kbase/Mconfig index 2d6fca0..342ac8c 100644 --- a/mali_kbase/Mconfig +++ b/mali_kbase/Mconfig @@ -67,13 +67,6 @@ config MALI_NO_MALI endchoice -config MALI_PLATFORM_DT_PIN_RST - bool "Enable Juno GPU Pin reset" - depends on MALI_MIDGARD - default n - default y if BUSLOG - help - Enables support for GPUs pin reset on Juno platforms. config MALI_CSF_SUPPORT bool "Enable Mali CSF based GPU support" @@ -119,7 +112,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,16 +166,6 @@ menuconfig MALI_EXPERT Enabling this option and modifying the default settings may produce a driver with performance or other limitations. -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 @@ -208,6 +191,21 @@ config PAGE_MIGRATION_SUPPORT support is explicitly compiled in. This has no effect when PAGE_MIGRATION_OVERRIDE is disabled. +config LARGE_PAGE_SUPPORT + bool "Support for 2MB page allocations" + depends on BACKEND_KERNEL + default y + help + 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 and helps to prevent memory fragmentation. + + 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 Y. + choice prompt "Error injection level" depends on MALI_MIDGARD && MALI_EXPERT |