# Pastebin sXx1GQCk ``` diff --git a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c index eefe4b1442f2..2eeb416b9017 100644 --- a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c +++ b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c @@ -397,9 +397,14 @@ static void meson_mipi_dsi_g12a_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) { + struct meson_dw_mipi_dsi *mipi_dsi = encoder_to_meson_dw_mipi_dsi(encoder); + struct meson_drm *priv = mipi_dsi->priv; + /* G12A Only support MIPI_DSI_FMT_RGB888 for now */ meson_mipi_dsi_setup(encoder_to_meson_dw_mipi_dsi(encoder), - mode, COLOR_24_BIT_YCBCR, MIPI_DSI_VENC_COLOR_24B, 1); + mode, COLOR_24BIT, MIPI_DSI_VENC_COLOR_24B, 1); + + writel_bits_relaxed(BIT(0), 0, priv->io_base + _REG(VPP_WRAP_OSD1_MATRIX_EN_CTRL)); } static const struct drm_encoder_helper_funcs ```