Re: [PATCH] drm/meson/meson_venc: Relax the supported mode checks

2023-02-13 Thread Carlo Caione
On 13/02/2023 08:09, Da Xue wrote: -       if (mode->hdisplay < 640 || mode->hdisplay > 1920) +       if (mode->hdisplay < 480 || mode->hdisplay > 1920)                 return MODE_BAD_HVALUE; -       if (mode->vdisplay < 480 || mode->vdisplay > 1200) +       if (mode->vdis

Re: [PATCH] drm/meson/meson_venc: Relax the supported mode checks

2023-02-13 Thread Da Xue
On Fri, Feb 10, 2023, 3:56 AM Carlo Caione wrote: > Relax a bit the supported modes list by including also 480x1920. This > was actually tested on real hardware and it works correctly. > > Signed-off-by: Carlo Caione > --- > drm/meson/meson_venc: Add more supported resolutions. > > In particular

[PATCH] drm/meson/meson_venc: Relax the supported mode checks

2023-02-11 Thread Carlo Caione
Relax a bit the supported modes list by including also 480x1920. This was actually tested on real hardware and it works correctly. Signed-off-by: Carlo Caione --- drm/meson/meson_venc: Add more supported resolutions. In particular relax the resolution checks to allow more resolutions like 480x19