[U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards

Lukasz Majewski l.majewski at samsung.com
Tue Jan 8 10:59:00 CET 2013


lcd_set_flush_dcache(1) function is called from exynos_fb.c (exynos_lcd_init()) file
to enable lcd_sync() function.

Tested-at: TRATS (Exynos 4210)
Tested-by: Lukasz Majewski <l.majewski at samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
---
 drivers/video/exynos_fb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c
index d9a3f9a..17e1069 100644
--- a/drivers/video/exynos_fb.c
+++ b/drivers/video/exynos_fb.c
@@ -63,6 +63,8 @@ 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)
-- 
1.7.2.3



More information about the U-Boot mailing list