mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
e93cf67119
commit
f6aeced7cb
@@ -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(¶m, 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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user