vdin: txhd2 select vppout in keystone [1/1]

PD#SWPL-137950

Problem:
txhd2 select postblend in keystone for black screen problem before,
now the issue was fixed,better to select vppout in keystone

Solution:
select vppout in keystone

Verify:
txhd2

Change-Id: I733efbf024a6afe571f967fec92131c0de06ac21
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
This commit is contained in:
haitao.liu
2023-09-14 15:06:55 +08:00
committed by gerrit autosubmit
parent fd1e2ed5f8
commit 14dd7ebcda
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -4877,7 +4877,7 @@ static long vdin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
param.dest_v_active = vdin_v4l2_param.dst_height;
if (is_meson_txhd2_cpu() && devp->set_canvas_manual == 1 &&
devp->dts_config.kestone_sel) {
devp->dts_config.keystone_sel) {
param.port = TVIN_PORT_VIU1_WB0_POST_BLEND;
devp->flags |= VDIN_FLAG_MANUAL_CONVERSION;
devp->debug.dest_cfmt = TVIN_RGB444;
@@ -6075,8 +6075,8 @@ static void vdin_get_dts_config(struct vdin_dev_s *devp,
devp->cr_lossy_param.burst_length_add_en = 0;
devp->cr_lossy_param.burst_length_add_value = 2;
devp->cr_lossy_param.ofset_burst4_en = 0;
/* for txhd2 only now */
devp->dts_config.kestone_sel = 1;
/* txhd2 keystone,0:vppout;1:postblend */
devp->dts_config.keystone_sel = 0;
}
static int vdin_drv_probe(struct platform_device *pdev)
+1 -1
View File
@@ -658,7 +658,7 @@ struct vdin_dts_config_s {
bool chk_write_done_en;
bool urgent_en;
bool v4l_en;
bool kestone_sel;
bool keystone_sel;
unsigned int afbce_flag_cfg;
};