OSDN Git Service

drm: bridge: dw-hdmi: Switch to V4L bus format and encodings
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 12:31:57 +0000 (14:31 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 15:48:21 +0000 (17:48 +0200)
commitdef23aa7e9821a3dfe3fb7b139dd0229a89fdeb0
tree4ba0c078de373096aaeaf2e4cb6cda1a01f82a22
parenta23d6265f033501529932db2d6b3f4bc138552ab
drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

Switch code to use the newly introduced V4L bus formats IDs instead of custom
defines. Also use the V4L encoding defines.

Some display pipelines can only provide non-RBG input pixels to the HDMI TX
Controller, this patch takes the pixel format from the plat_data if provided.

Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
include/drm/bridge/dw_hdmi.h