]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6c3c719936dafeb5df3a625cd57a674bf1d6ef31
tree09ef48f0d20356926452fa2d8fcc9d8528200746
parenta5cf9e2e52b638ae62049bf06d2283f5d757ac7d
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