From 5970920c342b30a9cf890314ef6c5eea130ee6cc Mon Sep 17 00:00:00 2001 From: Yong Qin Date: Fri, 22 Mar 2019 14:36:17 +0800 Subject: [PATCH] di: The last frame of the video flash garbage [1/1] PD#SWPL-6070 Problem: flash garbages when unreg process. Solution: can't speed down the clkb rate, there is a mirror mode Verify: tl1 Change-Id: I5fcc29a1cda196992a457f40fee31992f4bc1528 Signed-off-by: Yong Qin --- drivers/amlogic/media/deinterlace/deinterlace.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/deinterlace/deinterlace.c b/drivers/amlogic/media/deinterlace/deinterlace.c index 064c4943894a..048ea27e2c58 100644 --- a/drivers/amlogic/media/deinterlace/deinterlace.c +++ b/drivers/amlogic/media/deinterlace/deinterlace.c @@ -129,7 +129,7 @@ static di_dev_t *de_devp; static dev_t di_devno; static struct class *di_clsp; -static const char version_s[] = "2019-03-20a"; +static const char version_s[] = "2019-03-22va"; static int bypass_state = 1; static int bypass_all; @@ -6543,11 +6543,14 @@ static int di_task_handle(void *data) di_pre_stru.disable_req_flag) && (di_pre_stru.pre_de_busy == 0)) { di_unreg_process(); + #if 0 + /* if mirror mode, can't speed down the clk*/ /* set min rate for power saving */ if (de_devp->vpu_clkb) { clk_set_rate(de_devp->vpu_clkb, de_devp->clkb_min_rate); } + #endif } if (di_pre_stru.reg_req_flag_irq || di_pre_stru.reg_req_flag) {