Re: notifier is skipped in some situations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sakari,

We have the following graph:

    ISP (registers notifier for v4l2_dev)

     |

    PHY (registers notifier for v4l2_subdev, just like sensors for
flash/focuser)

  |       \

sensor0   sensor1

...

Both ISP and PHY are completely separate drivers not directly aware of
each other, since we have several different PHY IP blocks that we need
to support and some of them are multi-functional, such as CSI+DSI PHY
and need to be supported by drivers independent from the ISP driver.

Best regards,
Tomasz


On Fri, Nov 24, 2017 at 5:55 PM, Sakari Ailus
<sakari.ailus@xxxxxxxxxxxxxxx> wrote:
> Hi Jacob,
>
> On Fri, Nov 24, 2017 at 09:00:14AM +0800, Jacob Chen wrote:
>> Hi Sakari,
>>
>> I encountered a problem when using async sub-notifiers.
>>
>> It's like that:
>>     There are two notifiers, and they are waiting for one subdev.
>>     When this subdev is probing, only one notifier is completed and
>> the other one is skipped.
>
> Do you have a graph that has two master drivers (that register the
> notifier) and both are connected to the same sub-device? Could you provide
> exact graph you have?
>
>>
>> I found that in v15 of patch "v4l: async: Allow binding notifiers to
>> sub-devices", "v4l2_async_notifier_complete" is replaced by
>> v4l2_async_notifier_call_complete, which make it only complete one
>> notifier.
>>
>> Why is it changed? Can this be fixed?
>
> --
> Sakari Ailus
> sakari.ailus@xxxxxxxxxxxxxxx



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux