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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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->vdisplay < 480 || mode->vdisplay > 1920)
                     return MODE_BAD_VVALUE;

Should these be lowered to 400 instead of 480?

If you want to support 400x1280 then we need to tweak mode->hdisplay as well.

I'll push a v2.

--
Carlo Caione




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux