mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
vpp: Modify vframe epoll event [1/1]
PD#SWPL-8850 Problem: too many print when channel change. Solution: Modify vframe epoll event flow to avoid same event. Verify: verify on marconi. Change-Id: Id709439f24d3cad82df6082c477cacce1a9b9cc7 Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
This commit is contained in:
@@ -4059,8 +4059,11 @@ static void vsync_toggle_frame(struct vframe_s *vf, int line)
|
|||||||
int iret;
|
int iret;
|
||||||
|
|
||||||
last_process_3d_type = process_3d_type;
|
last_process_3d_type = process_3d_type;
|
||||||
atomic_inc(&video_sizechange);
|
if ((cur_dispbuf->width != vf->width) ||
|
||||||
wake_up_interruptible(&amvideo_sizechange_wait);
|
(cur_dispbuf->height != vf->height)) {
|
||||||
|
atomic_inc(&video_sizechange);
|
||||||
|
wake_up_interruptible(&amvideo_sizechange_wait);
|
||||||
|
}
|
||||||
amlog_mask(LOG_MASK_FRAMEINFO,
|
amlog_mask(LOG_MASK_FRAMEINFO,
|
||||||
"%s %dx%d ar=0x%x\n",
|
"%s %dx%d ar=0x%x\n",
|
||||||
((vf->type & VIDTYPE_TYPEMASK) ==
|
((vf->type & VIDTYPE_TYPEMASK) ==
|
||||||
|
|||||||
Reference in New Issue
Block a user