linux/drivers/media/platform/vsp1
Laurent Pinchart a0991c71ea v4l: vsp1: Don't recycle active list at display start
When the display start interrupt occurs, we know that the hardware has
finished loading the active display list. The driver then proceeds to
recycle the list, assuming it won't be needed anymore.

This assumption holds true for headerless display lists, as the VSP
doesn't reload the list for the next frame if it hasn't changed.
However, this isn't true anymore for header display lists, as they are
loaded at every frame start regardless of whether they have been
updated.

To prepare for header display lists usage in display pipelines, we need
to postpone recycling the list until it gets replaced by a new one
through a page flip. The driver already does so in the frame end
interrupt handler, so all we need is to skip list recycling in the
display start interrupt handler.

While the active list can be recycled at display start for headerless
display lists, there's no real harm in postponing that to the frame end
interrupt handler in all cases. This simplifies interrupt handling as we
don't need to process the display start interrupt anymore.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Acked-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-29 23:46:56 +03:00
..
Makefile [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_bru.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_bru.h [media] v4l: vsp1: Store active selection rectangles in a pad config structure 2016-04-13 18:53:22 -03:00
vsp1_clu.c [media] vsp1: fix CodingStyle violations on multi-line comments 2016-09-19 15:18:01 -03:00
vsp1_clu.h [media] v4l: vsp1: clu: Support runtime modification of controls 2016-06-28 12:25:31 -03:00
vsp1_dl.c v4l: vsp1: Don't recycle active list at display start 2017-07-29 23:46:56 +03:00
vsp1_dl.h v4l: vsp1: Don't recycle active list at display start 2017-07-29 23:46:56 +03:00
vsp1_drm.c v4l: vsp1: Don't recycle active list at display start 2017-07-29 23:46:56 +03:00
vsp1_drm.h v4l: vsp1: Don't recycle active list at display start 2017-07-29 23:46:56 +03:00
vsp1_drv.c v4l: vsp1: Don't recycle active list at display start 2017-07-29 23:46:56 +03:00
vsp1_entity.c [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_entity.h [media] v4l: vsp1: Support histogram generators in pipeline configuration 2017-04-14 22:42:50 -03:00
vsp1_hgo.c [media] vsp1: set V4L2_CTRL_FLAG_MODIFY_LAYOUT for histogram controls 2017-04-14 22:55:54 -03:00
vsp1_hgo.h [media] v4l: vsp1: Add HGO support 2017-04-14 22:48:33 -03:00
vsp1_hgt.c [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_hgt.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_histo.c [media] v4l: vsp1: Add histogram support 2017-04-14 22:42:14 -03:00
vsp1_histo.h [media] v4l: vsp1: Add histogram support 2017-04-14 22:42:14 -03:00
vsp1_hsit.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_hsit.h [media] v4l: vsp1: Add HST and HSI support 2013-12-11 09:22:44 -02:00
vsp1_lif.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_lif.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_lut.c [media] v4l: vsp1: Replace .set_memory() with VSP1_ENTITY_PARAMS_PARTITION 2016-09-19 14:58:59 -03:00
vsp1_lut.h [media] v4l: vsp1: lut: Support runtime modification of controls 2016-06-28 12:24:37 -03:00
vsp1_pipe.c v4l: vsp1: Postpone frame end handling in event of display list race 2017-05-22 16:15:14 +01:00
vsp1_pipe.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_regs.h [media] v4l: vsp1: Add HGT support 2017-04-14 22:53:00 -03:00
vsp1_rpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_rwpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_rwpf.h [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1_sru.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_sru.h [media] v4l: vsp1: sru: Don't program intensity in control set handler 2016-04-13 17:42:44 -03:00
vsp1_uds.c [media] v4l: vsp1: Fix multi-line comment style 2017-04-10 08:31:39 -03:00
vsp1_uds.h [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_video.c v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00
vsp1_video.h Merge branch 'topic/vsp1' into patchwork 2016-07-13 13:43:48 -03:00
vsp1_wpf.c [media] v4l: vsp1: wpf: Implement rotation support 2017-04-14 22:36:03 -03:00
vsp1.h v4l: vsp1: Map the DL and video buffers through the proper bus master 2017-06-09 12:25:37 +01:00