From 50b8abd33f368bd0c316b06927dfe9b2065cd780 Mon Sep 17 00:00:00 2001 From: SeYeong Byeon Date: Thu, 5 Sep 2019 10:35:04 +0900 Subject: [PATCH] [RAMEN9610-19685][9630] drivers: gpu: disable MALI_DMA_BUF_LEGACY_COMPAT Disables cache flush on dma buf map. This is not needed anymore and enabling this option may cause performance issues. Change-Id: I6278f2ebd52e28b63123aec2cc8b4b1cd3f098f1 Signed-off-by: SeYeong Byeon Signed-off-by: Kim Gunho --- drivers/gpu/arm/b_r19p0/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/b_r19p0/Kconfig b/drivers/gpu/arm/b_r19p0/Kconfig index 185073ec7614..4fa927d0e3e8 100644 --- a/drivers/gpu/arm/b_r19p0/Kconfig +++ b/drivers/gpu/arm/b_r19p0/Kconfig @@ -228,7 +228,7 @@ config MALI_DMA_BUF_MAP_ON_DEMAND 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 y + default n help This option enables compatibility with legacy dma-buf mapping behavior, then the dma-buf is mapped on import, by adding cache -- 2.20.1