video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 8 Jan 2013 03:48:40 +0000 (03:48 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 9 Jan 2013 01:26:53 +0000 (10:26 +0900)
lcd_set_flush_dcache(1) function is called from exynos_fb.c configuration file
to enable lcd_sync function.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/video/exynos_fb.c

index d9a3f9ab18976ba597d779ec9e0fab6ffcc70414..aac74a3c68efc5349685fba8a10ae8f0819e5f0d 100644 (file)
@@ -63,6 +63,9 @@ static void exynos_lcd_init_mem(void *lcdbase, vidinfo_t *vid)
 static void exynos_lcd_init(vidinfo_t *vid)
 {
        exynos_fimd_lcd_init(vid);
+
+       /* Enable flushing after LCD writes if requested */
+       lcd_set_flush_dcache(1);
 }
 
 static void draw_logo(void)