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:
parent
931ae0cfeb
commit
1d81f7eacb
1 changed files with 6 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue