mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 11:43:03 +09:00
vdin: fix vdin1 dest_cfmt for tl1 afbc preview support [1/1]
PD#SWPL-5971 Problem: preview window color is green with 1080p & 4k hdmirx Solution: vdin1 dest_cfmt follow vdin0 for the software double write for preview Verify: x301 Change-Id: I2e45b5f838cddcac1ca1c4e6710a7cc1f45ae9b5 Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
@@ -2423,7 +2423,8 @@ static long vdin_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||
|
||||
devp_vdin1->debug.scaler4w = 1280;
|
||||
devp_vdin1->debug.scaler4h = 720;
|
||||
devp_vdin1->debug.dest_cfmt = TVIN_YUV422;
|
||||
/* vdin1 follow vdin0 afbc dest_cfmt */
|
||||
devp_vdin1->debug.dest_cfmt = devp->prop.dest_cfmt;
|
||||
devp_vdin1->flags |= VDIN_FLAG_MANUAL_CONVERSION;
|
||||
|
||||
vdin_start_dec(devp_vdin1);
|
||||
|
||||
Reference in New Issue
Block a user