[PATCH 2/3] drm/panel: ilitek-ili9881c: Allow configuration of the number of lanes

Geert Uytterhoeven geert at linux-m68k.org
Wed Jun 11 10:00:25 UTC 2025


Hi Marek,

On Sun, 8 Jun 2025 at 23:38, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
> Not all panels use all 4 data lanes, so allow configuration based
> on the compatible string.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>

Thanks for your patch!

> --- a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
> +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
> @@ -43,6 +43,7 @@ struct ili9881c_desc {
>         const struct drm_display_mode *mode;
>         const unsigned long mode_flags;
>         u8 default_address_mode;
> +       unsigned int lanes;

You may want to use u8 instead, so this fits into the existing hole
on 32-bit systems.

>  };

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the dri-devel mailing list