]> git.dujemihanovic.xyz Git - u-boot.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)
commit56dd8d87e5034bf18fbc6d7c248f28f6eb484a9b
treef3e3391b54308088ce1e0f74bc8115063d85d1e7
parentfd998418084a9ac0928b4032ce0bb8bee8c9323b
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]