Re: [PATCH 6/8] fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting.

From: Sudip Mukherjee
Date: Sun Mar 31 2019 - 08:20:35 EST


On Sun, Mar 17, 2019 at 06:25:02AM +0800, Yifeng Li wrote:
> On a Thinkpad s30 (Pentium III / i440MX, Lynx3DM), blanking the display
> or starting the X server will crash and freeze the system, or garble the
> display.
>
> Experiments showed this problem can mostly be solved by adjusting the
> order of register writes. Also, sm712fb failed to consider the difference
> of clock frequency when unblanking the display, and programs the clock for
> SM712 to SM720.
>
> Fix them by adjusting the order of register writes, and adding an
> additional check for SM720 for programming the clock frequency.
>
> Signed-off-by: Yifeng Li <tomli@xxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v4.4+

Tested-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>

--
Regards
Sudip