OSDN Git Service

drm/meson: vclk: use the correct G12A frac max value
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 28 Aug 2019 13:23:11 +0000 (15:23 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 30 Sep 2019 13:22:09 +0000 (15:22 +0200)
commitd56276a13c2b9ea287b9fc7cc78bed4c43b286f9
tree4baf040fb510e3df0facfa8c4efad4c863cd6e9e
parentd6cb013579e743bc7bc5590ca35a1943f2b8f3c8
drm/meson: vclk: use the correct G12A frac max value

When calculating the HDMI PLL settings for a DMT mode PHY frequency,
use the correct max fractional PLL value for G12A VPU.

With this fix, we can finally setup the 1024x768-60 mode.

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/20190828132311.23881-1-narmstrong@baylibre.com
drivers/gpu/drm/meson/meson_vclk.c