From fbba5ed18a27eb91040bff49fa671638bf732000 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Fri, 28 Dec 2018 10:28:52 +0800 Subject: [PATCH] media_module: fix video flickering issue when avs seek on s805x [1/1] PD#SWPL-3033 Problem: video flickering after avs seek on s805x, s905x no this issue. Solution: init vdec clock down to 333M when avs(original clk is 500M). it's enough performance for avs decoding up to 1080p60. Verify: Verified s805x Change-Id: Iffb8c74adb5a7ec0bfaa66dfa96ef56006a4e275 Signed-off-by: Hui Zhang --- drivers/amlogic/media_modules/frame_provider/decoder/avs/avs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media_modules/frame_provider/decoder/avs/avs.c b/drivers/amlogic/media_modules/frame_provider/decoder/avs/avs.c index 23e1c858a088..b8bf8e4b5a23 100644 --- a/drivers/amlogic/media_modules/frame_provider/decoder/avs/avs.c +++ b/drivers/amlogic/media_modules/frame_provider/decoder/avs/avs.c @@ -1620,7 +1620,8 @@ static s32 vavs_init(void) if (firmware_sel == 0) INIT_WORK(&long_cabac_wd_work, long_cabac_do_work); #endif - + vdec_source_changed(VFORMAT_AVS, + 1920, 1080, 30); amvdec_start(); stat |= STAT_VDEC_RUN;