V4L2_MEMORY_USERPTR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

V4L2_MEMORY_USERPTR

2,423件の閲覧回数
ashokp
Contributor I

We are working on the custom IMX6 board. Below are the details.  

Processor: iMX6 (Quad)

Interface: MIPI CSI-2

Camera: any MIPI CSI-2 based camera sensor

We are passing the buffer from user program to V4l2 using the userptr

For the Linux iMX6, v4l2 support,

  1. Whether the V4L2_MEMORY_USERPTR is been supported?
  2. If so, which kernel version is tested for this feature? Can you provide the link/reference?
  3. Any tested/example code for iMX6 platform?

Thanks,

P.Ashok

ラベル(4)
0 件の賞賛
返信
3 返答(返信)

1,927件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  the following may be helpful V4L2_MEMORY_USERPTR example for iMX6

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,927件の閲覧回数
ashokp
Contributor I

Thanks for your reply. As per the thread, the userptr is only supported for physically contiguous memory. My question is whether iMX6 supports dis-contiguous userptr as well? Meaning, whether iMX6 can receive the streaming data from camera in memory that is discontiguous? If yes, can you point the relevant section in the iMX6 datasheet?

0 件の賞賛
返信

1,927件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

I think - from performance perspective - it would be better to increase continuous

(DMA) space, say, using "cma=" kernel boot parameter.

Regards,

Yuri.

0 件の賞賛
返信