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)
commite98c7952db1a832c671ef70d00bfe0365069e5ff
tree370bc01da682a3ac46fefb13e43b64e5f426927c
parent283f1e383e91d96fe652fad549537ae15cf31d60
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: 202b9808f8ed ("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