Re: [PATCH v2] drm/bridge: dw-mipi-dsi: let the glue compute the hcomponent lbcc

From: Icenowy Zheng

Date: Sun Nov 29 2026 - 02:00:42 EST


在 2026-11-28六的 17:29 +0100,Romain TISSERAND写道:
> Hi Icenowy,
>
> > I have to copy the ugly extra lane bandwidth logic from the rockchip
> > glue to make my panel work.
>
> Then the callback should help you too: with it, the TH1520 glue can
> return its own lbcc from its lane rate instead of the core guessing it
> from the pixel clock. If you try it on the Lichee Console 4A, a
> Tested-by or a comment on whether the hook fits your glue would be very
> welcome.
>
> On the GPD XD panel burst mode is not an option: the ILI9881C on it
> gives a black screen in burst mode, it has to run non-burst with sync
> pulses, which is where the lbcc mismatch shows up.

It's strange...

Let me check ILI9881C datasheet for any possible configuration flags.

>
> > BTW is it worth to get a GPD XD for $50-?
>
> For mainline hacking, I'd say yes: RK3288, 2 GB, 5" 1280x720 ILI9881C
> DSI panel, RT5631 codec, ESP8089 Wi-Fi. Display, sound, pad, Wi-Fi,

Ah ESP8089...

~A little trauma~

Thanks,
Icenowy

> touch, accelerometer, LEDs and suspend work on a mainline-based kernel
> (6.18 + a few patches); headphones and HDMI are still open. Boot is
> from SD with the vendor RK loader.
>
> Thanks,
> Romain