summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx/imx-ic-prpencvf.c
diff options
context:
space:
mode:
authorSteve Longerbeam2019-01-09 19:30:11 +0100
committerMauro Carvalho Chehab2019-01-16 20:15:10 +0100
commit6e537b58de772cfc89d4fbd0cddd0c1de5f93822 (patch)
treef89cdcb4b10a26bd33b2868b22ee3fb242916ab7 /drivers/staging/media/imx/imx-ic-prpencvf.c
parentmedia: imx-csi: Allow skipping odd chroma rows for YVU420 (diff)
downloadkernel-qcow2-linux-6e537b58de772cfc89d4fbd0cddd0c1de5f93822.tar.gz
kernel-qcow2-linux-6e537b58de772cfc89d4fbd0cddd0c1de5f93822.tar.xz
kernel-qcow2-linux-6e537b58de772cfc89d4fbd0cddd0c1de5f93822.zip
media: imx: vdic: rely on VDIC for correct field order
prepare_vdi_in_buffers() was setting up the dma pointers as if the VDIC is always programmed to receive the fields in bottom-top order, i.e. as if ipu_vdi_set_field_order() only programs BT order in the VDIC. But that's not true, ipu_vdi_set_field_order() is working correctly. So fix prepare_vdi_in_buffers() to give the VDIC the fields in whatever order they were received by the video source, and rely on the VDIC to sort out which is top and which is bottom. Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx/imx-ic-prpencvf.c')
0 files changed, 0 insertions, 0 deletions