Skip to content
Commit 18d582f5 authored by Ming Qian's avatar Ming Qian Committed by Xiaolei Wang
Browse files

media: amphion: tell and handle contiguous and non contiguous format



commit  2a8f1c6a28c160a7709b30d79bc8d4629510847e from
https://github.com/nxp-imx/linux-imx lf-6.1.y

Driver should tell the number of memory planes and component planes.
the amphion vpu support non contiguous planes,
but for compatibility with other device
that only support contiguous planes.
driver can add support for contiguous planes in the same time.
Then the mem_planes can be different from the comp_planes.
driver need to handle buffer according mem_planes and comp_planes.

So driver can support NV12 and NV12M.

Signed-off-by: default avatarMing Qian <ming.qian@nxp.com>
[Xiaolei: vpu_helper_find_format has been deleted,
xiaolei changed this patch to apply the patch.]
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent d54b1ef3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment