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 https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842475/PetaLinux+Yocto+Tips

$ 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"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

附件

文件名 文件大小 File Type
AR71780-patch.zip 1 KB ZIP
AR# 71780
日期 12/10/2018
状态 Active
Type 综合文章
器件
Tools
IP
Boards & Kits