]> 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)
commit9de1a0eae9e75b1f06ab174bed8466327401e448
tree6979baf6b5edd50e44e5620be6fb415fe8d89b6f
parent0e578e754cb67e4085e11661a1fc33ae64cc90b8
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