]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/rockchip: vop: add lut_size for RK3368 vop_data
authorWeiHao Li <cn.liweihao@gmail.com>
Fri, 5 Sep 2025 02:56:26 +0000 (10:56 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 14 Oct 2025 12:12:23 +0000 (14:12 +0200)
VOP driver need a correct lut_size to work normally. According to
rockchip downstream kernel source [1], the lut_size is 0x400.

[1] https://github.com/rockchip-linux/kernel/blob/develop-4.4/arch/arm64/boot/dts/rockchip/rk3368.dtsi#L1497

Signed-off-by: WeiHao Li <cn.liweihao@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250905025632.222422-3-cn.liweihao@gmail.com
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index d1f788763318e0211f22c8ec5122024d5c6ee42c..219f8c2fa88e084007ae12e3a3427b909b3825d4 100644 (file)
@@ -880,6 +880,7 @@ static const struct vop_data rk3368_vop = {
        .win = rk3368_vop_win_data,
        .win_size = ARRAY_SIZE(rk3368_vop_win_data),
        .max_output = { 4096, 2160 },
+       .lut_size = 1024,
 };
 
 static const struct vop_intr rk3366_vop_intr = {