]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Improve display modes handling on RK3588 HDMI1
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Sun, 23 Feb 2025 09:31:37 +0000 (11:31 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 27 Feb 2025 10:51:21 +0000 (11:51 +0100)
commitf8dd7fc9ba88bc4a6ea85269287a51fb756440e2
tree2c5d4563ce810fdfb08c20b688bc164366190b81
parent718b3bb9c0ab87bc90914799e6999bf4b1ecc67b
drm/rockchip: vop2: Improve display modes handling on RK3588 HDMI1

The RK3588 specific implementation is currently quite limited in terms
of handling the full range of display modes supported by the connected
screens, e.g. 2560x1440@75Hz, 2048x1152@60Hz, 1024x768@60Hz are just a
few of them.

Additionally, it doesn't cope well with non-integer refresh rates like
59.94, 29.97, 23.98, etc.

Make use of HDMI1 PHY PLL as a more accurate DCLK source to handle
all display modes up to 4K@60Hz.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250223-vop2-hdmi1-disp-modes-v2-1-f4cec5e06fbe@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c