[PATCH v2] drm: mxsfb: check framebuffer pitch

Fabio Estevam festevam at gmail.com
Tue Sep 8 09:01:20 EDT 2020


Hi Stefan,

On Tue, Sep 8, 2020 at 9:56 AM Stefan Agner <stefan at agner.ch> wrote:
>
> The lcdif IP does not support a framebuffer pitch (stride) other than
> framebuffer width. Check for equality and reject the framebuffer
> otherwise.
>
> This prevents a distorted picture when using 640x800 and running the
> Mesa graphics stack. Mesa tires to use a cache aligned stride, which
> leads at that particular resolution to width != stride. Currently
> Mesa has no fallback behavior, but rejecting this configuration allows
> userspace to handle the issue correctly.

What about adding a Fixes tag so that it can be backported to old
stable kernels?

Thanks



More information about the linux-arm-kernel mailing list