@amach4 see if this (untested) patch from Martin allows the 3440x1440@60 mode to be used?
diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c
index dfe0c28a0f05..a1fb3da00f06 100644
--- a/drivers/gpu/drm/meson/meson_vclk.c
+++ b/drivers/gpu/drm/meson/meson_vclk.c
@@ -700,8 +700,8 @@ static bool meson_hdmi_pll_find_params(struct meson_drm *priv,
unsigned int *frac,
unsigned int *od)
{
- /* Cycle from /16 to /2 */
- for (*od = 16 ; *od > 1 ; *od >>= 1) {
+ /* Cycle from /16 to /1 */
+ for (*od = 16 ; *od > 0 ; *od >>= 1) {
*m = meson_hdmi_pll_get_m(priv, freq * *od);
if (!*m)
continue;
@@ -749,7 +749,10 @@ static void meson_hdmi_pll_generic_set(struct meson_drm *priv,
if (meson_hdmi_pll_find_params(priv, pll_freq, &m, &frac, &od)) {
/* OD2 goes to the PHY, and needs to be *10, so keep OD3=1 */
od3 = 1;
- if (od < 4) {
+ if (od == 1) {
+ od1 = 1;
+ od2 = 1;
+ } else if (od < 4) {
od1 = 2;
od2 = 1;
} else {