[COMMON] fimc-is2: remove explicit cache maintanence for meta
authorJeongtae Park <jtp.park@samsung.com>
Sun, 17 Jun 2018 07:50:50 +0000 (16:50 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:13 +0000 (17:05 +0900)
Change-Id: Ic7fa6246721583a6af71c27f9d3daff35403eb2d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-device-ischain.c
drivers/media/platform/exynos/fimc-is2/include/fimc-is-common-config.h

index 7d0207e870882d7750704cc84c69ccda5eeccd82..5a2cce80f1ed5b17ee931d037642a8c87ba47252 100644 (file)
@@ -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)
index a32f20dbf6ec02b976bc4a7aa5c53b6f064fb2ab..3fad4c21ae0f7173a8a98b7a9d984f2179441c0d 100644 (file)
@@ -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