Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38845 )
Change subject: soc/mediatek: dsi: Correct bits_per_pixel for MIPI_DSI_FMT_RGB666 ......................................................................
soc/mediatek: dsi: Correct bits_per_pixel for MIPI_DSI_FMT_RGB666
The number of bits per pixel for MIPI_DSI_FMT_RGB666 should be 24 instead of 18.
BRANCH=none BUG=none TEST=none
Change-Id: I9574502b2dec4b5a042df3886922ddd8c755da1a Signed-off-by: Yu-Ping Wu yupingso@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/38845 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-by: Jitao Shi jitao.shi@mediatek.corp-partner.google.com Reviewed-by: Hung-Te Lin hungte@chromium.org --- M src/soc/mediatek/common/dsi.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Hung-Te Lin: Looks good to me, approved Jitao Shi: Looks good to me, but someone else must approve
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c index be99fe8..03e177e 100644 --- a/src/soc/mediatek/common/dsi.c +++ b/src/soc/mediatek/common/dsi.c @@ -28,9 +28,9 @@ switch (format) { case MIPI_DSI_FMT_RGB565: return 16; - case MIPI_DSI_FMT_RGB666: case MIPI_DSI_FMT_RGB666_PACKED: return 18; + case MIPI_DSI_FMT_RGB666: case MIPI_DSI_FMT_RGB888: return 24; }