]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: Add support for VIC alternate timings
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Nov 2018 10:54:35 +0000 (11:54 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 27 Nov 2018 15:39:49 +0000 (16:39 +0100)
commit0358a4ee7f4743b31e1e6b2a2c58fa57602bc433
tree6979baf6b5edd50e44e5620be6fb415fe8d89b6f
parent8f9336974269ad88b0fa3810f220095528f32586
drm/meson: Add support for VIC alternate timings

This change is an attempt to handle the alternate clock for the CEA mode.
60Hz vs. 59.94Hz, 30Hz vs 29.97Hz or 24Hz vs 23.97Hz on the Amlogic Meson SoC
DRM Driver pixel clock generation.

The actual clock generation will be moved to the Common Clock framework once
all the video clock are handled by the Amlogic Meson SoC clock driver,
then these alternate timings will be handled in the same time in a cleaner
fashion.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Maxime Jourdan <mjourdan@baylibre.com>
[narmstrong: fix maybe-uninitialized warnings after applying]
Link: https://patchwork.freedesktop.org/patch/msgid/1541501675-3928-1-git-send-email-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_dw_hdmi.c
drivers/gpu/drm/meson/meson_vclk.c
drivers/gpu/drm/meson/meson_vclk.h