Hi All,

> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: 07 July 2026 10:30
> Subject: [PATCH v4] drm: shmobile: Fix white screen after resume when LCDC is 
> stopped
> 
> From: bui duc phuc <[email protected]>
> 
> The LCDC on R8A7740 may show a completely white screen after resuming from 
> suspend (s2idle or s2ram).
> 
> After resume, both Set A and Set B registers are reset to 0. As the Frame End 
> interrupt is not
> generated while the controller is stopped (DO=0), the hardware register 
> switching mechanism is not
> triggered.
> Consequently, Set A remains at 0x00000000 even though a valid Start Address 
> is written to Set B,
> resulting in a white screen.
> 
> This is a timing-dependent race condition. In some configurations, debug 
> options slow down the resume
> path enough for a Frame End interrupt to occur, which can mask the issue.
> 
> Fix this by priming both register sets with the Start Address while the 
> controller is stopped,
> ensuring a valid base address is available immediately after resume.
> 
> Tested-by: Geert Uytterhoeven <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>
> Signed-off-by: bui duc phuc <[email protected]>
> ---
> 
> Note:
> It was originally posted in March and has already received both Reviewed-by 
> and Tested-by tags. I'm
> resending it to bring it back to attention in case it was overlooked.
> 
> Changes in v4:
>  - No functional changes.
>  - Resend.

Applied to next.

Cheers,
Biju

Reply via email to