Re: [PATCH v3 4/9] media: venus: vdec: add video decoder files

From: Nicolas Dufresne
Date: Wed Nov 23 2016 - 15:24:55 EST


Le lundi 21 novembre 2016 Ã 18:09 +0200, Stanimir Varbanov a ÃcritÂ:
> >> Meanwhile I have found bigger obstacle - I cannot run multiple
> instances
> >> simultaneously. By m2m design it can execute only one job (m2m
> context)
> >> at a time per m2m device. Can you confirm that my observation is
> correct?
>
> > The m2m framework assumes a single HW instance, yes. Do you have
> multiple
> > HW decoders? I might not understand what you mean...
>
>
> I mean that I can start and execute up to 16 decoder sessions
> simultaneously. Its a firmware responsibility how those sessions are
> scheduled and how the hardware is shared between them. Of course
> depending on the resolution the firmware can refuse to start the
> session
> because the hardware will be overloaded and will not be able to
> satisfy
> the bitrate requirements.

This is similar to S5P-MFC driver, which you may have notice not use
m2m framework.

Nicolas

Attachment: signature.asc
Description: This is a digitally signed message part