diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-06-12 16:15:55 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-06-12 16:15:55 +0000 |
commit | 771a93f3b7e8f18ac81c9c54152605214f82ff10 (patch) | |
tree | e85522670a1788259b23b0885384fa98730b19ab /sys/src/9 | |
parent | 306e7ca618cec67d780cee0ddf9160a1245d5925 (diff) |
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.
Diffstat (limited to 'sys/src/9')
-rw-r--r-- | sys/src/9/imx8/lcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/imx8/lcd.c b/sys/src/9/imx8/lcd.c index 661585eee..c3ab44a37 100644 --- a/sys/src/9/imx8/lcd.c +++ b/sys/src/9/imx8/lcd.c @@ -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 */ |