diff --git a/drivers/amlogic/media/video_sink/video.c b/drivers/amlogic/media/video_sink/video.c index 28bf8cf7cdd3..29ec179580e3 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -2988,6 +2988,11 @@ static void vsync_toggle_frame(struct vframe_s *vf) /* #endif */ } + + /* if el is unnecessary, afbc2 need to be closed */ + if ((last_el_status == 1) && (vf_with_el == 0)) + need_disable_vd2 = 1; + last_el_status = vf_with_el; if (((vf->type & VIDTYPE_NO_VIDEO_ENABLE) == 0) &&