Re: [PATCH 3/7] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver

From: Nicolas Dufresne
Date: Mon Apr 18 2016 - 13:48:29 EST


Le lundi 18 avril 2016 Ã 16:22 +0800, tiffany lin a ÃcritÂ:
> > > We are plaining to remove m2m framework in th feature, although
> we think
>
> > Remove it for just the decoder driver or both encoder and decoder?
>
> Remove it from decoder driver.

Did you look at how CODA handle it (drivers/media/platform/coda/coda-
common.c) ? I don't know any detail, but they do have the same issue
and use bothÂv4l2_m2m_fop_poll andÂv4l2_m2m_fop_mmap.

cheers,
Nicolas