Hello Marian, On Wed, Mar 15, 2017 at 8:36 AM, Marian Mihailescu <mihailescu2m@xxxxxxxxx> wrote: > Hi, > > After testing these patches, encoding using MFC fails when requesting > buffers for capture (it works for output) with ENOMEM (it complains it > cannot allocate memory on bank1). > Did anyone else test encoding? > I've not tested encoding, but I did test decoding and it works for me with Shuah's patch to increase the CMA memory [0]. Did you test with that one as well? Also you could try using the 5p_mfc.mem kernel param as explained in the commit message of "media: s5p-mfc: Add support for probe-time preallocated block based allocator". [0]: https://patchwork.kernel.org/patch/9596737/ > Thanks, > Marian > Best regards, Javier