
6 Sep
2019
6 Sep
'19
8:27 p.m.
On Sat, Aug 10, 2019 at 2:00 AM Mark Kettenis kettenis@openbsd.org wrote:
Currently we may end up with an LCD clock divider that differs from the HDMI PHY clock divider if we can't exactly match the pixel clock. Fix this by using DIV_ROUND_UP to calculate the divider. This works since the PLL is chosen such that the resulting pixel clock is never higher than the requested pixel clock.
Fixes: 1feed358ed15 ("sunxi: video: HDMI: Fix clock setup")
Signed-off-by: Mark Kettenis kettenis@openbsd.org
Acked-by: Jagan Teki jagan@amarulasolutions.com
Moved, to Anatolij on pw