]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Set AXI id for rk3588
authorAndy Yan <andy.yan@rock-chips.com>
Sat, 14 Dec 2024 08:17:02 +0000 (16:17 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 18 Dec 2024 16:38:57 +0000 (17:38 +0100)
commit7b256880fdb2d7f23393b87bb557090f049e686a
treea638d9be2bdfcbe33220fa8dcd4ca33c79549326
parent221e29e197981e8e5882cdcf230d063598298e2f
drm/rockchip: vop2: Set AXI id for rk3588

There are two AXI bus in vop2, windows attached on the same bus must
have a unique channel YUV and RGB channel ID.

The default IDs will conflict with each other on the rk3588, so they
need to be reassigned.

Fixes: 5a028e8f062f ("drm/rockchip: vop2: Add support for rk3588")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Tested-by: Derek Foreman <derek.foreman@collabora.com>
Tested-by: Detlev Casanova <detlev.casanova@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241214081719.3330518-4-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
drivers/gpu/drm/rockchip/rockchip_drm_vop2.h
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c