]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: synopsys: dw-hdmi: add bus format negociation
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 4 Mar 2020 10:40:45 +0000 (11:40 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 10 Mar 2020 09:51:24 +0000 (10:51 +0100)
commit8b29f672ca23f7065f2eee2ae5056a9f74b685a8
tree09ef48f0d20356926452fa2d8fcc9d8528200746
parent414c258653aa8f8d70cdcb377c1eb12e444137b1
drm/bridge: synopsys: dw-hdmi: add bus format negociation

Add the atomic_get_output_bus_fmts, atomic_get_input_bus_fmts to negociate
the possible output and input formats for the current mode and monitor,
and use the negotiated formats in a basic atomic_check callback.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jernej Škrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304104052.17196-5-narmstrong@baylibre.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c