Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0900673e authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Inki Dae
Browse files

drm/exynos/mixer: enable support for 1024x768 and 1280x1024 modes



Since HDMI can handle these modes despite of MIXER limitations let's
enable them.

Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Reviewed-by: default avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 36fd887a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1015,6 +1015,9 @@ static int mixer_mode_valid(struct exynos_drm_crtc *crtc,
	    (w >= 1664 && w <= 1920 && h >= 936 && h <= 1080))
		return MODE_OK;

	if ((w == 1024 && h == 768) || (w == 1280 && h == 1024))
		return MODE_OK;

	return MODE_BAD;
}