AR# 71780

2018.3 Zynq UltraScale+ MPSoC: Linux v4l2 mem2mem driver transcode fails when source buffer to mem2mem has different byte alignment restrictions


On Zynq UltraScale+ MPSoC devices, the transcode can fail when the source buffer to the mem2mem driver has different byte alignment restrictions on width and height than expected.

This should be handled in the driver, or all components in the system should have the same alignment. 

The final value can be the higher alignment of all of the components in the system.


To fix this issue, you will need to apply the attached patch.

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend

Note: To apply a patch to recipes, please refer to (UG1144) or

$ cp 0001-xilinx-v4l-m2m-Fix-source-buffer-alignments.patch <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend

# linux-xlnx_%.bbappend content 

SRC_URI_append = "file://0001-xilinx-v4l-m2m-Fix-source-buffer-alignments.patch"



Associated Attachments

Name File Size File Type 1 KB ZIP
AR# 71780
Date 12/10/2018
Status Active
Type General Article
Boards & Kits