]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: dw-hdmi-qp: Handle platform supported formats and color depth
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 21 Oct 2025 10:19:15 +0000 (13:19 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Nov 2025 22:10:34 +0000 (23:10 +0100)
commit1ff27c5929ab0f5e34d5062637369ca542a6d385
treed84f5fd95227a9ac5879a4933fbc638f6c383dd7
parentb0362c45c401c36412a1305b34a3bfeae35dbca7
drm/bridge: dw-hdmi-qp: Handle platform supported formats and color depth

Extend struct dw_hdmi_qp_plat_data to include the supported display
output formats and maximum bits per color channel.  When provided by the
platform driver, use them to setup the HDMI bridge accordingly.

Additionally, improve debug logging in dw_hdmi_qp_bridge_atomic_enable()
to also show the current HDMI output format and bpc.

Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20251021-rk3588-10bpc-v3-2-3d3eed00a6db@collabora.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
include/drm/bridge/dw_hdmi_qp.h