vdin: keystone interlace update dest value [1/1]

PD#SWPL-122041

Problem:
keystone width and height value not update

Solution:
keystone interlace update width and height value

Verify:
T7C

Change-Id: I5b423e86b8a3b6aa6cf3b1c7bbd73bbdad8c191e
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
This commit is contained in:
qiang.liu
2023-05-01 15:52:31 +08:00
committed by gerrit autosubmit
parent e93cf67119
commit f6aeced7cb
2 changed files with 14 additions and 1 deletions
+12
View File
@@ -4560,6 +4560,16 @@ static long vdin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
break;
}
if (vdin_dbg_en) {
pr_info("width:%d height:%d dst_width:%d dst_height:%d\n",
vdin_v4l2_param.width, vdin_v4l2_param.height,
vdin_v4l2_param.dst_width, vdin_v4l2_param.dst_height);
pr_info("fps:%d dst_fmt:%d bit_order:%d mode:%d bit_dep:%d secure:%d\n",
vdin_v4l2_param.fps, vdin_v4l2_param.dst_fmt,
vdin_v4l2_param.bit_order, vdin_v4l2_param.mode,
vdin_v4l2_param.bit_dep, vdin_v4l2_param.secure_memory_en);
}
memset(&param, 0, sizeof(struct vdin_parm_s));
if (cpu_after_eq(MESON_CPU_MAJOR_ID_SM1))
param.port = TVIN_PORT_VIU1_WB0_VPP;
@@ -4568,6 +4578,8 @@ static long vdin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
param.h_active = vdin_v4l2_param.width;
param.v_active = vdin_v4l2_param.height;
param.dest_h_active = vdin_v4l2_param.dst_width;
param.dest_v_active = vdin_v4l2_param.dst_height;
if (devp->set_canvas_manual != 1) {
param.reserved |= PARAM_STATE_HISTGRAM;
+2 -1
View File
@@ -138,7 +138,8 @@
/* 20230404: interlace not into game mode */
/* 20230420: add osd only support for screencap */
/* 20230427: fix screen cap stress test crash issue */
#define VDIN_VER "20230427"
/* 20230504: keystone interlace update dest value */
#define VDIN_VER "20230504"
//#define VDIN_BRINGUP_NO_VF
//#define VDIN_BRINGUP_NO_VLOCK