From ac90f0dd5fbae0b94e9720203a8bb2e81fd4b679 Mon Sep 17 00:00:00 2001 From: Sidath Senanayake Date: Mon, 6 May 2019 12:21:44 +0200 Subject: Mali Bifrost DDK r18p0 KMD Provenance: ee36a6687 (collaborate/EAC/b_r18p0) BX304L01B-BU-00000-r18p0-01rel0 BX304L06A-BU-00000-r18p0-01rel0 BX304X07X-BU-00000-r18p0-01rel0 Signed-off-by: Sidath Senanayake Change-Id: Ie26cb00b475d697c2778306ac09c6a799201ac77 --- mali_kbase/Mconfig | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'mali_kbase/Mconfig') 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. -- cgit v1.2.3