On Wed, Dec 30, 2020 at 6:08 AM Chenyang Li <lichenyang@xxxxxxxxxxx> wrote: > + switch (format->format) { > + case DRM_FORMAT_RGB565: > + lcrtc->cfg_reg |= 0x3; > + break; > + case DRM_FORMAT_RGB888: > + default: > + lcrtc->cfg_reg |= 0x4; > + break; > + } How does the scanout engine distinguish between RGB888 (24-bit) and XRGB8888 (32-bit)? You've listed both as supported below. Cheers, -ilia _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel