summaryrefslogtreecommitdiff
path: root/mali_kbase/Mconfig
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2019-05-06 12:21:44 +0200
committerSidath Senanayake <sidaths@google.com>2019-05-06 12:21:44 +0200
commitac90f0dd5fbae0b94e9720203a8bb2e81fd4b679 (patch)
treeb8939b75ce4e0f1e8ae07e36648edef7f3a3ce59 /mali_kbase/Mconfig
parente972f6531ef8c9d01eae567f52db4f0fd37d1428 (diff)
downloadgpu-ac90f0dd5fbae0b94e9720203a8bb2e81fd4b679.tar.gz
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 <sidaths@google.com> Change-Id: Ie26cb00b475d697c2778306ac09c6a799201ac77
Diffstat (limited to 'mali_kbase/Mconfig')
-rw-r--r--mali_kbase/Mconfig24
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.