From: SeYeong Byeon Date: Thu, 5 Sep 2019 01:35:04 +0000 (+0900) Subject: [RAMEN9610-19685][9630] drivers: gpu: disable MALI_DMA_BUF_LEGACY_COMPAT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50b8abd33f368bd0c316b06927dfe9b2065cd780;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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