summaryrefslogtreecommitdiff
authorJihong Sui <jihong.sui@amlogic.com>2018-08-03 06:20:28 (GMT)
committer Yixun Lan <yixun.lan@amlogic.com>2018-08-03 08:37:49 (GMT)
commit0ad331e683059916d9e5548284bdeab4be086470 (patch)
tree980838b3317d31bee336b3e211c6b3162497a142
parent66188fce68b0ddfb242e7d3778ee1146ed10090e (diff)
downloadcommon-0ad331e683059916d9e5548284bdeab4be086470.zip
common-0ad331e683059916d9e5548284bdeab4be086470.tar.gz
common-0ad331e683059916d9e5548284bdeab4be086470.tar.bz2
deinterlace: txl: fix di abnormal when inverted screen
PD#170301: txl: fix di abnormal when inverted screen Change-Id: I2777e0092413115da5f4fdd4975c721c3f086ee3 Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Diffstat
-rw-r--r--drivers/amlogic/media/deinterlace/deinterlace.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/amlogic/media/deinterlace/deinterlace.c b/drivers/amlogic/media/deinterlace/deinterlace.c
index 8720a12..4168c25 100644
--- a/drivers/amlogic/media/deinterlace/deinterlace.c
+++ b/drivers/amlogic/media/deinterlace/deinterlace.c
@@ -124,7 +124,7 @@ static di_dev_t *de_devp;
static dev_t di_devno;
static struct class *di_clsp;
-static const char version_s[] = "2018-07-31a";
+static const char version_s[] = "2018-08-03a";
static int bypass_state = 1;
static int bypass_all;
@@ -4956,6 +4956,9 @@ de_post_process(void *arg, unsigned int zoom_start_x_lines,
mc_pre_flag = 1;
post_blend_mode = 1;
}
+ if (is_meson_txl_cpu() && overturn)
+ mc_pre_flag = 1;
+
if (mcpre_en) {
di_post_stru.di_mcvecrd_mif.canvas_num =
di_buf->di_buf_dup_p[2]->mcvec_canvas_idx;