drm/exynos: mixer shouldn't care about a specific resolution

Change-Id: I57b6c4aab66e1a65492dbf23fa8ab1fd9c4e4b76
This commit is contained in:
Mauro (mdrjr) Ribeiro
2017-01-07 02:40:56 -02:00
parent 48b1f29a39
commit e3a568aff1

View File

@@ -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 = {