]> git.baikalelectronics.ru Git - uboot.git/commit
video: dw_hdmi: add support for color conversion
authorJorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>
Thu, 15 Nov 2018 09:32:03 +0000 (10:32 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 31 Jan 2019 08:35:01 +0000 (09:35 +0100)
commit3ff8a970db432e41f812718f69e57ceb49de92b9
treef3e3391b54308088ce1e0f74bc8115063d85d1e7
parent0dfc4f9440ed4aa575d657cff6b79d71a37c0c93
video: dw_hdmi: add support for color conversion

Some IPs like the meson VPU can only feed a particular pixel format to
dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input.

This commit enables different pixel format inputs, with the appropriate
CSC configuration.

Signed-off-by: Jorge Ramire-Ortiz <jramirez@baylibre.com>
Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
drivers/video/dw_hdmi.c
include/dw_hdmi.h
include/media_bus_format.h [new file with mode: 0644]