imx8/lcd: silly work around for display instability

running at the actual pixel clock causes the screen
to shift horizontally after a while.

using 60% seems to fix it - for now.
This commit is contained in:
cinap_lenrek 2022-06-12 00:21:28 +00:00
parent 931ae0cfeb
commit 1d81f7eacb

View file

@ -930,8 +930,12 @@ lcdinit(void)
goto out; goto out;
} }
/* start the pixel clock */ /*
setclkrate("lcdif.pix_clk", "system_pll1_clk", mode.pixclk); * start the pixel clock. running at the actual pixel clock
* causes the screen to shift horizontally after a while.
* using 60% seems to fix it - for now.
*/
setclkrate("lcdif.pix_clk", "system_pll1_clk", (mode.pixclk*6)/10);
dpiinit(&mode); dpiinit(&mode);
/* release dpi reset */ /* release dpi reset */