]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita71b185753e5c0312721205b443f82757bd22880
treeea78f7fdf30d2b3fd1437a509b15ea1e217716bb
parenta4f97b62ea9c062a50cbbfee0fb65bab03e3aada
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