Dear All,
Hello.
[Problem]
In V4L2_BUF_TYPE_VIDEO_CAPTURE, it works fine at V4L2_MEMORY_MMAP, but, it didn't work at the V4L2_MEMORY_USERPTR.
[Phenomenon]
Data isn't written in the acquired buffer by "ioctl(fd, VIDIOC_DQBUF, &buf)".
[Question]
My customer want to use the V4L2_MEMORY_USERPTR.
Is it supporting V4L2_MEMORY_USERPTR in i.MX6DQ with L3.14.28?
[Other]
The function looks no support from below link.
V4L2_MEMORY_USERPTR example for iMX6
Best Regards
Keita
Solved! Go to Solution.
Keita, hello !
You are right :
"The current driver used is coherent mapping .
For customer's use case which need buffer cache-able for
cpu process the captured data buffer , they need implement
this new feature by their own."
You may try approach, guessed by erezsteinberg
in
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!
-----------------------------------------------------------------------------------------------------------------------
Keita, hello !
You are right :
"The current driver used is coherent mapping .
For customer's use case which need buffer cache-able for
cpu process the captured data buffer , they need implement
this new feature by their own."
You may try approach, guessed by erezsteinberg
in
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!
-----------------------------------------------------------------------------------------------------------------------