From 1e8819482b384086ed2077c9e3f2845cd09ca985 Mon Sep 17 00:00:00 2001 From: Damon Ding Date: Sat, 29 Jun 2024 10:35:33 +0800 Subject: [PATCH] drm/rockchip: vop: fix vop version to VOP_VERSION(2, 0xe) for rk3506 The version read from reg VOP_LITE_VERSION is VOP_VERSION(2, 0xc), which is the same as RV1106. But there are many differences between RV1106 vop and RK3506 vop, we set the version to VOP_VERSION(2, 0xe) on the software. Change-Id: I3f6e1e24d839aaab73b728d87cfa0738c23d540b Signed-off-by: Damon Ding --- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index f2fdf6f65150..5de662b3433d 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -2109,7 +2109,7 @@ static const struct vop_grf_ctrl rk3506_grf_ctrl = { static const struct vop_data rk3506_vop = { .soc_id = 0x3506, .vop_id = 0, - .version = VOP_VERSION(2, 0xc), + .version = VOP_VERSION(2, 0xe), .max_input = {1280, 1280}, .max_output = {1280, 1280}, .ctrl = &rk3506_ctrl_data,