On Mon, May 15, 2023 at 11:26 AM Thomas Zimmermann <tzimmermann@xxxxxxx> wrote: > > I think I found this, the bandwidth limit calculation in > > drivers/gpu/drm/pl111/pl111_display.c was using the bpp from > > the config and this was decreased from 16 to 15 and as it determined > > cpp by dividing bpp/8 this decreased from 2 bytes to 1 byte. > > > > Testing with DIV_ROUND_UP() in combination with the previous > > fix! > > Great. It's the code in mode_valid, right? That fix should be good > enough for now. In the long term, we could make some of the internal > fb-helper code available to drivers. You'd then be able to use it to get > the depth/bpp values for the color mode. Yeah I sent a patch, check it out! Yours, Linus Walleij