]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Introduce vop hardware version
authorAndy Yan <andy.yan@rock-chips.com>
Tue, 18 Feb 2025 11:27:33 +0000 (19:27 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 2 Mar 2025 18:32:13 +0000 (19:32 +0100)
commit301618ed1d8ab7cfaec39b107eded9f263da2299
tree319a8e81dc3ffb82d8e119e1f476a33aa9081a3a
parent5439c4f3cb0ec11a3f3cb70be2b019770f6d183c
drm/rockchip: vop2: Introduce vop hardware version

There is a version number hardcoded in the VOP VERSION_INFO
register, and the version number increments sequentially based
on the production order of the SoC.

So using this version number to distinguish different VOP features
will simplify the code.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net> # on RK3568
Tested-by: Detlev Casanova <detlev.casanova@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218112744.34433-7-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