]> Gentwo Git Trees - linux/.git/commit
drm/rockchip: dw_hdmi_qp: Add high color depth support
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 21 Oct 2025 10:19:18 +0000 (13:19 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 Nov 2025 22:10:38 +0000 (23:10 +0100)
commite95b9ff6bfa400d34e1cfcd8062641ba3be821a7
treeb3ef54aa668891bb8dd51257fd8e437a72d6fb3b
parent97ffefaaf4e9ab3aeddb2273e1a9b2854c481b11
drm/rockchip: dw_hdmi_qp: Add high color depth support

Since both RK3576 and RK3588 SoCs are capable of handling 10 bpc color
depth, introduce a pair of new helpers to program the necessary
registers, as well as passing bpc at PHY configuration level.

Note max_bpc is unconditionally set to 10 before initializing the QP
bridge library, as there is no need to adjust it dynamically, i.e. per
SoC variant, for now.

While setting up .enc_init() callbacks of rockchip_hdmi_qp_ctrl_ops,
also replace the unnecessary whitespace chars before .irq_callback()
assignments.

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-5-3d3eed00a6db@collabora.com
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c