From: Brian Zhu Date: Wed, 21 Mar 2018 08:08:22 +0000 (+0800) Subject: vpp: remove vd1 & vd2 mif gate setting X-Git-Tag: khadas-vims-v0.9.6-release~2289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8640c010e4eeb125074eba0af59d4b381a50feb;p=platform%2Fkernel%2Flinux-amlogic.git vpp: remove vd1 & vd2 mif gate setting PD#161364: vpp remove vd1 & vd2 mif gate setting to avoid screen flicker Change-Id: I6fa8eed89b33cbde698472167ba000f132c897ad Signed-off-by: Brian Zhu --- diff --git a/drivers/amlogic/media/video_sink/video.c b/drivers/amlogic/media/video_sink/video.c index d4bc15d..23c50028 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -8971,14 +8971,10 @@ static void do_vpu_delay_work(struct work_struct *work) switch_vpu_mem_pd_vmod( VPU_DI_POST, VPU_MEM_POWER_DOWN); - if (!legacy_vpp) { + if (!legacy_vpp) switch_vpu_mem_pd_vmod( VPU_VD1_SCALE, VPU_MEM_POWER_DOWN); - WRITE_VCBUS_REG_BITS( - VD1_AFBCD0_MISC_CTRL, - 0x55, 0, 8); - } } if ((vpu_delay_work_flag & @@ -8993,14 +8989,10 @@ static void do_vpu_delay_work(struct work_struct *work) switch_vpu_mem_pd_vmod( VPU_AFBC_DEC1, VPU_MEM_POWER_DOWN); - if (!legacy_vpp) { + if (!legacy_vpp) switch_vpu_mem_pd_vmod( VPU_VD2_SCALE, VPU_MEM_POWER_DOWN); - WRITE_VCBUS_REG_BITS( - VD2_AFBCD1_MISC_CTRL, - 0x55, 0, 8); - } } if ((vpu_delay_work_flag &