diff options
author | Jörg Wagner <jorwag@google.com> | 2023-12-14 09:44:26 +0000 |
---|---|---|
committer | Jörg Wagner <jorwag@google.com> | 2023-12-14 09:44:26 +0000 |
commit | 049a542207ed694271316782397b78b2e202086a (patch) | |
tree | 105e9378d4d5062dc72109fdd4a77c915bd9425d /mali_kbase/Mconfig | |
parent | e61eb93296e9f940b32d4ad4b0c3a5557cbeaf17 (diff) | |
download | gpu-049a542207ed694271316782397b78b2e202086a.tar.gz |
Update KMD to r47p0
Provenance: ipdelivery@ad01e50d640910a99224382bb227e6d4de627657
Change-Id: I19ac9bce34a5c5a319c1b4a388e8b037b3dfe6e7
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 912fd9f..b3c5323 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 |