mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
a0991c71ea
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> |
||
---|---|---|
.. | ||
Makefile | ||
vsp1_bru.c | ||
vsp1_bru.h | ||
vsp1_clu.c | ||
vsp1_clu.h | ||
vsp1_dl.c | ||
vsp1_dl.h | ||
vsp1_drm.c | ||
vsp1_drm.h | ||
vsp1_drv.c | ||
vsp1_entity.c | ||
vsp1_entity.h | ||
vsp1_hgo.c | ||
vsp1_hgo.h | ||
vsp1_hgt.c | ||
vsp1_hgt.h | ||
vsp1_histo.c | ||
vsp1_histo.h | ||
vsp1_hsit.c | ||
vsp1_hsit.h | ||
vsp1_lif.c | ||
vsp1_lif.h | ||
vsp1_lut.c | ||
vsp1_lut.h | ||
vsp1_pipe.c | ||
vsp1_pipe.h | ||
vsp1_regs.h | ||
vsp1_rpf.c | ||
vsp1_rwpf.c | ||
vsp1_rwpf.h | ||
vsp1_sru.c | ||
vsp1_sru.h | ||
vsp1_uds.c | ||
vsp1_uds.h | ||
vsp1_video.c | ||
vsp1_video.h | ||
vsp1_wpf.c | ||
vsp1.h |