Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c03e9a3a authored by Philipp Zabel's avatar Philipp Zabel
Browse files

drm/imx: tve: fix media bus format for VGA output



Commit a7c6e76f ("drm/imx: switch to use media bus formats") accidentally
replaced IPU_PIX_FMT_GBR24 with MEDIA_BUS_FMT_YUV8_1X24 instead of the correct
MEDIA_BUS_FMT_GBR888_1X24. This patch is needed to fix VGA output in i.MX53.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 510e6426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ static void imx_tve_encoder_prepare(struct drm_encoder *encoder)

	switch (tve->mode) {
	case TVE_MODE_VGA:
		imx_drm_set_bus_format_pins(encoder, MEDIA_BUS_FMT_YUV8_1X24,
		imx_drm_set_bus_format_pins(encoder, MEDIA_BUS_FMT_GBR888_1X24,
					    tve->hsync_pin, tve->vsync_pin);
		break;
	case TVE_MODE_TVOUT: