Re: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Stefan Agner
On 06.08.2018 21:31, Leonard Crestez wrote: > LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to > NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the > display will show an initial corrupt frame. > > Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when > ac

[PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Leonard Crestez
LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the display will show an initial corrupt frame. Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when activating the CRTC. Signed-off-by: Leonard Crestez ---

Re: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-07 Thread Philipp Zabel
On Mon, 2018-08-06 at 22:31 +0300, Leonard Crestez wrote: > LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to > NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the > display will show an initial corrupt frame. > > Fix by writing the FB paddr to both CUR_BUF and NEXT