Message ID | 1504694220-15818-11-git-send-email-a.hajda@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Hello Andrzej, Andrzej Hajda wrote: > Since HDMI can handle these modes despite of MIXER limitations lets > enable them. lets --> let's Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> > Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> > --- > drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c > index 5aae82b..108dccb 100644 > --- a/drivers/gpu/drm/exynos/exynos_mixer.c > +++ b/drivers/gpu/drm/exynos/exynos_mixer.c > @@ -1014,6 +1014,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; > } > > -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 12.09.2017 14:50, Tobias Jakobi wrote: > Hello Andrzej, > > > Andrzej Hajda wrote: >> Since HDMI can handle these modes despite of MIXER limitations lets >> enable them. > lets --> let's > > Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Thanks for review, I will apply all your grammar/style suggestions in next iteration. Regards Andrzej > > >> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> >> --- >> drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c >> index 5aae82b..108dccb 100644 >> --- a/drivers/gpu/drm/exynos/exynos_mixer.c >> +++ b/drivers/gpu/drm/exynos/exynos_mixer.c >> @@ -1014,6 +1014,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; >> } >> >> > > > -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index 5aae82b..108dccb 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -1014,6 +1014,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; }
Since HDMI can handle these modes despite of MIXER limitations lets enable them. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ 1 file changed, 3 insertions(+)