Hi Linus Linus Walleij <linus.walleij@xxxxxxxxxx> 于2021年6月5日周六 上午7:19写道: > > On Tue, Jun 1, 2021 at 11:31 PM Doug Anderson <dianders@xxxxxxxxxxxx> wrote: > > > Still hoping that this can work atop DBI so we can avoid the raw SPI > > writes. You said you're trying for it for v3 so I'm looking forward to > > checking it out there. > > Struggling with this. The DBI bus is only used by tiny DRM > for the panel drivers that are jitted with that display controller > ATM. No normal panel driver is using it. Quite similar to my ili9341 driver submission last year [1]. I guess, if it just simply combines tinyDRM and dpi driver into one source code like what i was doing. it's might not easy to get accepted from maintainers. Anyway, there was a discussion on support dbi & dsi by one driver [2], hope it'll give some help for you on this work. [1] https://lore.kernel.org/lkml/1590378348-8115-7-git-send-email-dillon.minfei@xxxxxxxxx/ [2] https://lists.freedesktop.org/archives/dri-devel/2020-May/267031.html Best Regards. Dillon > > > panel-simple also sets the bpc in the "display_info". Do you need to? > > > > I didn't see a reply, so I'm still curious about the answer. > > I think it depends on whether the display controller/bridge actually > make use of this or not. It is implied from the MEDIA_BUS_FMT* > in practice and this controller (MCDE) only had settings for > BPP, no fine grained bits to fiddle for BPC. > > But I added it for completeness, why not! Who knows who else > will come along. I think I should patch a few other drivers with > this as well. > > Yours, > Linus Walleij