diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2019-01-09 13:30:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-16 14:15:10 -0500 |
commit | 6e537b58de772cfc89d4fbd0cddd0c1de5f93822 (patch) | |
tree | f89cdcb4b10a26bd33b2868b22ee3fb242916ab7 /include | |
parent | 792f061b9f752f28fdaa1986b43f109689dc1416 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions