summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_wpf.c
diff options
context:
space:
mode:
authorKieran Bingham2016-09-06 11:55:02 +0200
committerMauro Carvalho Chehab2016-09-19 19:51:58 +0200
commit4c4b57b91bee77c442809b20f1bbeb490a5db5cc (patch)
tree32c0e09192bdd9bf080bb9e73001634a2db87d3e /drivers/media/platform/vsp1/vsp1_wpf.c
parent[media] v4l: vsp1: Repair race between frame end and qbuf handler (diff)
downloadkernel-qcow2-linux-4c4b57b91bee77c442809b20f1bbeb490a5db5cc.tar.gz
kernel-qcow2-linux-4c4b57b91bee77c442809b20f1bbeb490a5db5cc.tar.xz
kernel-qcow2-linux-4c4b57b91bee77c442809b20f1bbeb490a5db5cc.zip
[media] v4l: vsp1: Use DFE instead of FRE for frame end
The DFE and FRE interrupts are both fired at frame completion, as each display list processes a single frame. This won't be true anymore when using image partitioning, switch to DFE in preparation. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran+renesas@bingham.xyz> Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_wpf.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_wpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c b/drivers/media/platform/vsp1/vsp1_wpf.c
index 31983169c24a..748f5af90b7e 100644
--- a/drivers/media/platform/vsp1/vsp1_wpf.c
+++ b/drivers/media/platform/vsp1/vsp1_wpf.c
@@ -318,7 +318,7 @@ static void wpf_configure(struct vsp1_entity *entity,
/* Enable interrupts */
vsp1_dl_list_write(dl, VI6_WPF_IRQ_STA(wpf->entity.index), 0);
vsp1_dl_list_write(dl, VI6_WPF_IRQ_ENB(wpf->entity.index),
- VI6_WFP_IRQ_ENB_FREE);
+ VI6_WFP_IRQ_ENB_DFEE);
}
static const struct vsp1_entity_operations wpf_entity_ops = {