This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8148 Issue in vidioc_dqbuf function

Hi,

Processor : DM8148

I am getting the following error:  vbuf: dqbuf: next_buffer error: -512 , when i use v4l2 driver.

Problem happens after capturing the video in saLoopBack application.

Kindly help me.

Kernel Log :

vram end 40ff5000 start 401e5000, offset 0
user mmap regions start 87700000, len 16777216
ti81xxvin ti81xxvin: vidioc_qbuf
vbuf: qbuf: requesting next field
ti81xxvin ti81xxvin: ti81xxvin_buffer_prepare
vbuf: qbuf: succeeded
ti81xxvin ti81xxvin: vidioc_qbuf
vbuf: qbuf: requesting next field
ti81xxvin ti81xxvin: ti81xxvin_buffer_prepare
vbuf: qbuf: succeeded
ti81xxvin ti81xxvin: vidioc_qbuf
vbuf: qbuf: requesting next field
ti81xxvin ti81xxvin: ti81xxvin_buffer_prepare
vbuf: qbuf: succeeded
ti81xxvin ti81xxvin: vidioc_qbuf
vbuf: qbuf: requesting next field
ti81xxvin ti81xxvin: ti81xxvin_buffer_prepare
vbuf: qbuf: succeeded
ti81xxvin ti81xxvin: vidioc_streamon
ti81xxvin ti81xxvin: ti81xxvin_check_format
Inside ti81xxvin_check_format
hpitch : 870
min_hpitch 0 min_numlines 240
sizeimage 12fc00
numlines 240
ti81xxvin ti81xxvin: ti81xxvin_buffer_queue
ti81xxvin ti81xxvin: ti81xxvin_buffer_queue
ti81xxvin ti81xxvin: ti81xxvin_buffer_queue
ti81xxvin ti81xxvin: ti81xxvin_buffer_queue
ti81xxvin ti81xxvin: vidioc_dqbuf
vbuf: dqbuf: next_buffer error: -512
ti81xxvin ti81xxvin: ti81xxvin_release
vbuf: __videobuf_free
t81xx_vidout t81xx_vidout: Entering ti81xx_vidout_vrelease for VIDOUT1
t81xx_vidout t81xx_vidout: VIDOUT1: free additional buffers
vbuf: __videobuf_free
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
t81xx_vidout t81xx_vidout: VIDOUT1: buffer release
vbuf: __videobuf_free
t81xx_vidout t81xx_vidout: Exiting ti81xx_vidout_vrelease for vidout1
Closing fb0

Regards,

Rajesh.