* [U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
@ 2013-01-08 9:59 Lukasz Majewski
2013-01-08 12:37 ` Minkyu Kang
0 siblings, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2013-01-08 9:59 UTC (permalink / raw)
To: u-boot
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@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
2013-01-08 9:59 [U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards Lukasz Majewski
@ 2013-01-08 12:37 ` Minkyu Kang
2013-01-08 13:48 ` [U-Boot] [PATCH v2] " Lukasz Majewski
0 siblings, 1 reply; 4+ messages in thread
From: Minkyu Kang @ 2013-01-08 12:37 UTC (permalink / raw)
To: u-boot
On 08/01/13 18:59, Lukasz Majewski wrote:
> 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@samsung.com>
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Minkyu Kang <mk7.kang@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);
please add blank line here.
> + /* Enable flushing after LCD writes if requested */
> + lcd_set_flush_dcache(1);
> }
>
> static void draw_logo(void)
>
Thanks.
Minkyu Kang.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v2] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
2013-01-08 12:37 ` Minkyu Kang
@ 2013-01-08 13:48 ` Lukasz Majewski
2013-01-09 1:28 ` Minkyu Kang
0 siblings, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2013-01-08 13:48 UTC (permalink / raw)
To: u-boot
lcd_set_flush_dcache(1) function is called from exynos_fb.c configuration file
to enable lcd_sync function.
Tested-at: TRATS (Exynos 4210)
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
Changes for v2:
- Blank line added
---
drivers/video/exynos_fb.c | 3 +++
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)
--
1.7.2.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v2] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards
2013-01-08 13:48 ` [U-Boot] [PATCH v2] " Lukasz Majewski
@ 2013-01-09 1:28 ` Minkyu Kang
0 siblings, 0 replies; 4+ messages in thread
From: Minkyu Kang @ 2013-01-09 1:28 UTC (permalink / raw)
To: u-boot
On 08/01/13 22:48, Lukasz Majewski wrote:
> lcd_set_flush_dcache(1) function is called from exynos_fb.c configuration file
> to enable lcd_sync function.
>
> Tested-at: TRATS (Exynos 4210)
> Tested-by: Lukasz Majewski <l.majewski@samsung.com>
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> Changes for v2:
> - Blank line added
> ---
> drivers/video/exynos_fb.c | 3 +++
> 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)
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-09 1:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 9:59 [U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards Lukasz Majewski
2013-01-08 12:37 ` Minkyu Kang
2013-01-08 13:48 ` [U-Boot] [PATCH v2] " Lukasz Majewski
2013-01-09 1:28 ` Minkyu Kang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).