]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: Load crtc devices in preferred order
authorJonas Karlman <jonas@kwiboo.se>
Sun, 8 Sep 2024 14:55:04 +0000 (14:55 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 19 Sep 2024 14:22:50 +0000 (16:22 +0200)
commit0c4558a1bc2df9b6e6fb311de9cab192b0943426
tree61c8b3b0de1444494c4037a01b0df88f5447f14c
parent28f0ae48e7fdbd6cdcf3972c8d8686a529ae1ede
drm/rockchip: Load crtc devices in preferred order

On RK3399 the VOPL is loaded before VOPB and get registered as crtc-0.
However, on RK3288 and PX30 VOPB is gets registered as crtc-0 instead of
VOPL.

With VOPL registered as crtc-0 the kernel kms client is not able to
enable 4K display modes for console use on RK3399.

Load VOPB before VOPL to help kernel kms client make use of 4K display
modes for console use on RK3399.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240908145511.3331451-8-jonas@kwiboo.se
drivers/gpu/drm/rockchip/rockchip_drm_drv.c