drm/meson: add YUV422 output support
authorDongjin Kim <tobetter@gmail.com>
Mon, 16 May 2022 07:22:45 +0000 (07:22 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 18 May 2022 07:13:31 +0000 (09:13 +0200)
commitc193a003dc46ae601f46908b41d6f485b87db1ad
treeea78f7fdf30d2b3fd1437a509b15ea1e217716bb
parent7381076809586528e2a812a709e2758916318a99
drm/meson: add YUV422 output support

Support YUV422 output from the Amlogic Meson SoC VPU to the HDMI
controller. Without this YUV422 format out of the HDMI encoder
leads to using the dw-hdmi YUV444 to YUV422 color conversion which
gives wrong colors and a green line on the left edge of the screen.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Tested-by: Furkan Kardame <f.kardame@manjaro.org>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Dan Johansen <strit@manjaro.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220516072245.10745-1-christianshewitt@gmail.com
drivers/gpu/drm/meson/meson_encoder_hdmi.c