imx8/lcd: reduce flicker

increasing the pixel clock to 80% of the edid clock value
reduces flicker and also seems to not trigger the shifting
issue.
This commit is contained in:
cinap_lenrek 2022-06-12 16:15:55 +00:00
parent 306e7ca618
commit 771a93f3b7

View file

@ -933,9 +933,9 @@ lcdinit(void)
/*
* 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.
* using 80% seems to fix it - for now.
*/
setclkrate("lcdif.pix_clk", "system_pll1_clk", (mode.pixclk*6)/10);
setclkrate("lcdif.pix_clk", "system_pll1_clk", (mode.pixclk*8)/10);
dpiinit(&mode);
/* release dpi reset */