]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8a311e713626f9535d6cae37d916bdb91839ade
tree4ba0c078de373096aaeaf2e4cb6cda1a01f82a22
parent8789d5e8abf2f9a0a9ead707f802a94855efa7db
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