All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Mihailescu <mihailescu2m@gmail.com>
To: Andrzej Hajda <a.hajda@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>, linux-media@vger.kernel.org
Subject: Re: [PATCH v2 00/15] Exynos MFC v6+ - remove the need for the reserved memory
Date: Wed, 22 Mar 2017 20:03:36 +1030	[thread overview]
Message-ID: <E30E2706-5AAF-4235-A515-B73F80D401D4@gmail.com> (raw)
In-Reply-To: <04742b05-76bc-a0ec-f5e8-fe3a50115c44@samsung.com>

Hi,

I was testing with the linux-next kernel + the v2 patches
HW: odroid xu4
decoding (working): tested with gstreamer
encoding: tested with gstreamer && mfc-patched ffmpeg
before patches: encoding worked
after patches: encoding didn’t work.

I moved on from linux-next in the meantime and I cannot give you logs, BUT I’ve seen Hardkernel applied these patches (and all the linux-next MFC patches) on top of their 4.9 tree, and the result is very similar to mine on linux-next: https://github.com/hardkernel/linux/issues/284

Mar 21 13:04:54 odroid kernel: [   37.165153] s5p_mfc_alloc_priv_buf:78: Allocating private buffer of size 23243744 failed
Mar 21 13:04:54 odroid kernel: [   37.171865] s5p_mfc_alloc_codec_buffers_v6:244: Failed to allocate Bank1 memory
Mar 21 13:04:54 odroid kernel: [   37.179143] vidioc_reqbufs:1174: Failed to allocate encoding buffers


A user reported even adding s5p_mfc.mem=64M did not make the encoder work.
Any thoughts?

Thanks,
M.

(resent in plain text format)

> On 17 Mar. 2017, at 10:36 pm, Andrzej Hajda <a.hajda@samsung.com> wrote:
> 
> Hi Marian,
> 
> On 15.03.2017 12:36, Marian Mihailescu 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 have tested encoding and it works on my test target. Could you provide
> more details of your setup:
> - which kernel and patches,
> - which hw,
> - which test app.
> 
> Regards
> Andrzej
> 
> 
>> 
>> Thanks,
>> Marian
>> 
>> Either I've been missing something or nothing has been going on. (K. E. Gordon)
>> 
> 

  reply	other threads:[~2017-03-22  9:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 11:36 [PATCH v2 00/15] Exynos MFC v6+ - remove the need for the reserved memory Marian Mihailescu
2017-03-15 11:49 ` Javier Martinez Canillas
2017-03-15 12:00   ` Marian Mihailescu
2017-03-15 12:25     ` Javier Martinez Canillas
     [not found] ` <CGME20170317120635eucas1p1d13c446f1418de46a49516e95bf9075d@eucas1p1.samsung.com>
2017-03-17 12:06   ` Andrzej Hajda
2017-03-22  9:33     ` Marian Mihailescu [this message]
2017-03-22  9:40       ` Marek Szyprowski
2017-03-22 10:04         ` Marian Mihailescu
2017-03-22 10:17       ` Marek Szyprowski
     [not found] <CGME20170220133910eucas1p10f347d7688dd51ea70d15994c9d5d1f1@eucas1p1.samsung.com>
2017-02-20 13:38 ` Marek Szyprowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E30E2706-5AAF-4235-A515-B73F80D401D4@gmail.com \
    --to=mihailescu2m@gmail.com \
    --cc=a.hajda@samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.