]> git.baikalelectronics.ru Git - kernel.git/commit
drm/meson: fix G12A HDMI PLL settings for 4K60 1000/1001 variations
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 5 Jun 2019 12:53:20 +0000 (14:53 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 7 Jun 2019 08:03:57 +0000 (10:03 +0200)
commit93db9aff444819077717f545e4142fedef15c070
tree370bc01da682a3ac46fefb13e43b64e5f426927c
parentac653779e346d275651ccbd940614b6d25f9f885
drm/meson: fix G12A HDMI PLL settings for 4K60 1000/1001 variations

The Amlogic G12A HDMI PLL needs some specific settings to lock with
different fractional values for the 5,4GHz mode.

Handle the 1000/1001 variation fractional case here to avoid having
the PLL in an non lockable state.

Fixes: 5055f54c39b6 ("drm/meson: Add G12A Video Clock setup")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190605125320.8708-1-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_vclk.c