aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2017-09-29 12:05:41 +0200
committerInki Dae <[email protected]>2017-10-26 09:06:34 +0900
commit0900673e366190328796903a72cf17a9d082c327 (patch)
tree6b0ac2373f59b0d9361a89034c035fd1c1b54039
parent36fd887acbd1ce349eba8283d9e8a9d7932a24ca (diff)
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: Andrzej Hajda <[email protected]> Reviewed-by: Tobias Jakobi <[email protected]> Signed-off-by: Inki Dae <[email protected]>
-rw-r--r--drivers/gpu/drm/exynos/exynos_mixer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
index e9122db95cb2..714d72fd3bc5 100644
--- a/drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/drivers/gpu/drm/exynos/exynos_mixer.c
@@ -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;
}