summaryrefslogtreecommitdiff
path: root/drivers/video/exynos_fb.c
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2013-01-08 03:48:40 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-01-09 10:26:53 +0900
commitc6d647e3094b4123c9c6e27765221762753f00be (patch)
tree52eede56e38186fa756a97a11457a9b78aa5f01e /drivers/video/exynos_fb.c
parent9a0c4f9b870da77b1768470bc37d12251e0a438e (diff)
downloadu-boot-imx-c6d647e3094b4123c9c6e27765221762753f00be.zip
u-boot-imx-c6d647e3094b4123c9c6e27765221762753f00be.tar.gz
u-boot-imx-c6d647e3094b4123c9c6e27765221762753f00be.tar.bz2
video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
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>
Diffstat (limited to 'drivers/video/exynos_fb.c')
-rw-r--r--drivers/video/exynos_fb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c
index d9a3f9a..aac74a3 100644
--- a/drivers/video/exynos_fb.c
+++ b/drivers/video/exynos_fb.c
@@ -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)