refer to the reference manual:
LCDIF_CTRL[WORD_LENGTH]=3 indicates that the input frame-buffer is RGB
24 bits per pixel (RGB 888). If LCDIF_CTRL1[BYTE_PACKING_FORMAT] is
0x7, it indicates that there is only one pixel per 32-bit word and there is no restriction
on LCDIF_TRANSFER_COUNT[H_COUNT].
Limitation: If LCDIF_CTRL1[BYTE_PACKING_FORMAT] is 0xF, it indicates
that the pixels are packed, that is, there are 4 pixels in 3 words or 12 bytes and
LCDIF_TRANSFER_COUNT[H_COUNT] must be a multiple of 4 pixels.
refer to the source code of mipi , you can find :
case MIPI_DSI_FMT_RGB888:
return COL_FMT_24BPP;
"https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm6719..."