diff options
Diffstat (limited to 'mali_kbase/Mconfig')
-rw-r--r-- | mali_kbase/Mconfig | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/mali_kbase/Mconfig b/mali_kbase/Mconfig index 1f61c9f..d0e78a2 100644 --- a/mali_kbase/Mconfig +++ b/mali_kbase/Mconfig @@ -199,11 +199,6 @@ config MALI_2MB_ALLOC If in doubt, say N -config MALI_FPGA_BUS_LOGGER - bool "Enable bus log integration" - depends on MALI_MIDGARD && MALI_EXPERT - default n - config MALI_PWRSOFT_765 bool "PWRSOFT-765 ticket" depends on MALI_MIDGARD && MALI_EXPERT @@ -220,6 +215,25 @@ config MALI_MEMORY_FULLY_BACKED This option enables full backing of all virtual memory allocations for the kernel. This only affects grow-on-GPU-page-fault memory. +config MALI_DMA_BUF_MAP_ON_DEMAND + bool "Map imported dma-bufs on demand" + depends on MALI_MIDGARD + default n + default y if !DMA_BUF_SYNC_IOCTL_SUPPORTED + help + This option caused kbase to set up the GPU mapping of imported + dma-buf when needed to run atoms. This is the legacy behaviour. + +config MALI_DMA_BUF_LEGACY_COMPAT + bool "Enable legacy compatibility cache flush on dma-buf map" + depends on MALI_MIDGARD && !MALI_DMA_BUF_MAP_ON_DEMAND + default n + help + This option enables compatibility with legacy dma-buf mapping + behavior, then the dma-buf is mapped on import, by adding cache + maintenance where MALI_DMA_BUF_MAP_ON_DEMAND would do the mapping, + including a cache flush. + # Instrumentation options. # config MALI_JOB_DUMP exists in the Kernel Kconfig but is configured using CINSTR_JOB_DUMP in Mconfig. |