From: Jeongtae Park Date: Sun, 17 Jun 2018 07:50:50 +0000 (+0900) Subject: [COMMON] fimc-is2: remove explicit cache maintanence for meta X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=348b3d827dbd30396c91110e212901a37049dc1c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: remove explicit cache maintanence for meta Change-Id: Ic7fa6246721583a6af71c27f9d3daff35403eb2d Signed-off-by: Jeongtae Park --- diff --git a/drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c b/drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c index 7d0207e87088..5a2cce80f1ed 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c @@ -833,24 +833,12 @@ static void fimc_is_ischain_region_flush(struct fimc_is_device_ischain *device) void fimc_is_ischain_meta_flush(struct fimc_is_frame *frame) { -#ifdef ENABLE_CACHE - CALL_BUFOP((void *)frame->cookie_shot, sync_for_device, - (void *)frame->cookie_shot, - 0, - frame->shot_size, - DMA_TO_DEVICE); -#endif + } void fimc_is_ischain_meta_invalid(struct fimc_is_frame *frame) { -#ifdef ENABLE_CACHE - CALL_BUFOP((void *)frame->cookie_shot, sync_for_cpu, - (void *)frame->cookie_shot, - 0, - frame->shot_size, - DMA_FROM_DEVICE); -#endif + } void fimc_is_ischain_version(enum fimc_is_bin_type type, const char *load_bin, u32 size) diff --git a/drivers/media/platform/exynos/fimc-is2/include/fimc-is-common-config.h b/drivers/media/platform/exynos/fimc-is2/include/fimc-is-common-config.h index a32f20dbf6ec..3fad4c21ae0f 100644 --- a/drivers/media/platform/exynos/fimc-is2/include/fimc-is-common-config.h +++ b/drivers/media/platform/exynos/fimc-is2/include/fimc-is-common-config.h @@ -31,7 +31,6 @@ /* #define FW_SUSPEND_RESUME */ #define ENABLE_CLOCK_GATE #define HAS_FW_CLOCK_GATE -/* #define ENABLE_CACHE */ #define ENABLE_FULL_BYPASS #define ENABLE_ONE_SLOT