ref: c1a7de78296cd0abb0377074a925e785b8015867
parent: ed3d7b8ec0071d4706c1c1c5ca4774246f0a2e34
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jun 12 12:15:55 EDT 2022
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.
--- a/sys/src/9/imx8/lcd.c
+++ b/sys/src/9/imx8/lcd.c
@@ -933,9 +933,9 @@
/*
* 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 */
--
⑨