Fix bug in Lime video driver
PATCH 1/1 Fix bug in Lime video driver
We need to wait while drawing engine clears frame buffer before any further software accesses to frame buffer will be initiated. Otherwise software drawn parts could be partially destroyed by the drawing engine or even GDC chip freeze could occur (as observed on socrates board).
Signed-off-by Anatolij Gustschin <[email protected]>
--- drivers/video/mb862xx.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/video/mb862xx.c +2 -0
@@ -173,6 +173,8 @@ static void de_init (void)DE_WR_FIFO (0x09410000 );DE_WR_FIFO (0x00000000 );DE_WR_FIFO (pGD->winSizeY<<16 | pGD->winSizeX); +/* sync with SW access to framebuffer */ +de_wait (); }#if defined(CONFIG_VIDEO_CORALP )
Signature · 1 line
1.5.3.3
Wolfgang Denk
AppliedPATCH 1/1 Fix bug in Lime video driver
Quoted 11 lines · In message <[email protected]> you wrote:
We need to wait while drawing engine clears frame buffer before any further software accesses to frame buffer will be initiated. Otherwise software drawn parts could be partially destroyed by the drawing engine or even GDC chip freeze could occur (as observed on socrates board).
Signed-off-by Anatolij Gustschin <[email protected]>--- drivers/video/mb862xx.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It may be that our role on this planet is not to worship God but to create him." - Arthur C. Clarke