From e3a568aff113c72fd12f2982ceb613cb476d8558 Mon Sep 17 00:00:00 2001 From: "Mauro (mdrjr) Ribeiro" Date: Sat, 7 Jan 2017 02:40:56 -0200 Subject: [PATCH] drm/exynos: mixer shouldn't care about a specific resolution Change-Id: I57b6c4aab66e1a65492dbf23fa8ab1fd9c4e4b76 --- drivers/gpu/drm/exynos/exynos_mixer.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index edb20a34c66c..2329b9263988 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1076,12 +1076,7 @@ static int mixer_atomic_check(struct exynos_drm_crtc *crtc, mode->hdisplay, mode->vdisplay, mode->vrefresh, (mode->flags & DRM_MODE_FLAG_INTERLACE) ? 1 : 0); - if ((w >= 464 && w <= 720 && h >= 261 && h <= 576) || - (w >= 1024 && w <= 1280 && h >= 576 && h <= 720) || - (w >= 1664 && w <= 1920 && h >= 936 && h <= 1080)) - return 0; - - return -EINVAL; + return 0; } static const struct exynos_drm_crtc_ops mixer_crtc_ops = {