]> asedeno.scripts.mit.edu Git - linux.git/commit
v4l: vsp1: Postpone frame end handling in event of display list race
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Sat, 4 Mar 2017 02:01:18 +0000 (02:01 +0000)
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Mon, 22 May 2017 15:15:14 +0000 (16:15 +0100)
commit348a00341efdaf582eb2cb86bddc4bb10406714d
tree5e04a55177b995cdeddaeec6be2ec41bae7f1c58
parent7f53b19cdff78f696b61cd5987dfe1a5d432676b
v4l: vsp1: Postpone frame end handling in event of display list race

If we try to commit the display list while an update is pending, we have
missed our opportunity. The display list manager will hold the commit
until the next interrupt.

In this event, we skip the pipeline completion callback handler so that
the pipeline will not mistakenly report frame completion to the user.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vsp1/vsp1_dl.c
drivers/media/platform/vsp1/vsp1_dl.h
drivers/media/platform/vsp1/vsp1_pipe.c