AnsweredAssumed Answered

IMX6 IPU: enqueue task with callback

Question asked by Alban Deruaz on May 27, 2016
Latest reply on Jun 10, 2016 by Yuri Muhin

Hi!

 

In order to enqueue a task to the IPU, I am currently using the following C function call in my program:

 

ioctl(fd_ipu, IPU_QUEUE_TASK, &task)

 

 

It works, but it only returns when the enqueued task in the IPU is finished. I would like to do it in an non blocking way, by for example providing a callback function to the IPU, so that I can still use my thread during the ipu operation.

 

Thank you very much for your help!

Outcomes