From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
linux-media@vger.kernel.org, Kamil Debski <k.debski@samsung.com>,
Fabio Estevam <fabio.estevam@freescale.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
Nicolas Dufresne <nicolas.dufresne@collabora.com>,
kernel@pengutronix.de
Subject: Re: [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960
Date: Mon, 21 Jul 2014 21:19:44 +0200 [thread overview]
Message-ID: <20140721191944.GK13730@pengutronix.de> (raw)
In-Reply-To: <20140721160128.27eb7428.m.chehab@samsung.com>
Hi Mauro,
On Mon, Jul 21, 2014 at 04:01:28PM -0300, Mauro Carvalho Chehab wrote:
> > This patch adds support for the CODA960 VPU in Freescale i.MX6 SoCs.
> >
> > It enables h.264 and MPEG4 encoding and decoding support. Besides the usual
> > register shifting, the CODA960 gains frame memory control and GDI registers
> > that are set up for linear mapping right now, needs ENC_PIC_SRC_INDEX to be
> > set beyond the number of internal buffers for some reason, and has subsampling
> > buffers that need to be set up. Also, the work buffer size is increased to
> > 80 KiB.
> >
> > The CODA960 firmware spins if there is not enough input data in the bitstream
> > buffer. To make it continue, buffers need to be copied into the bitstream as
> > soon as they are queued. As the bitstream fifo is written into from two places,
> > it must be protected with a mutex. For that, using a threaded interrupt handler
> > is necessary.
> >
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
>
> ...
>
> > + [CODA_IMX6Q] = {
> > + .firmware = "v4l-coda960-imx6q.bin",
> > + .product = CODA_960,
> > + .codecs = coda9_codecs,
> > + .num_codecs = ARRAY_SIZE(coda9_codecs),
> > + },
> > + [CODA_IMX6DL] = {
> > + .firmware = "v4l-coda960-imx6dl.bin",
> > + .product = CODA_960,
> > + .codecs = coda9_codecs,
> > + .num_codecs = ARRAY_SIZE(coda9_codecs),
> > + },
>
> Where are those firmware files available?
Freescale currently distributes the firmware with their multimedia
packages, but in header hex array form; we are trying to find a proper
solution (hopefully by using the linux firmware repository) for
mainline.
The Freescale kernel people are currently discussing this internally
with their legal folks, see this discussion:
http://www.spinics.net/lists/linux-media/msg78273.html
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2014-07-21 19:19 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 9:36 [PATCH v3 00/32] Initial CODA960 (i.MX6 VPU) support Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 01/32] [media] coda: fix decoder I/P/B frame detection Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 02/32] [media] coda: fix readback of CODA_RET_DEC_SEQ_FRAME_NEED Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 03/32] [media] coda: fix h.264 quantization parameter range Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 04/32] [media] coda: fix internal framebuffer allocation size Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 05/32] [media] coda: simplify IRAM setup Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960 Philipp Zabel
2014-07-21 19:01 ` Mauro Carvalho Chehab
2014-07-21 19:19 ` Robert Schwebel [this message]
2014-07-22 12:50 ` Philipp Zabel
2014-07-29 15:30 ` Shawn Guo
2014-07-29 17:06 ` Philipp Zabel
2014-07-30 12:16 ` Shawn Guo
2014-07-30 12:32 ` Philipp Zabel
2014-10-20 8:49 ` Jean-Michel Hautbois
2014-07-11 9:36 ` [PATCH v3 07/32] [media] coda: remove BUG() in get_q_data Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 08/32] [media] coda: add selection API support for h.264 decoder Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 09/32] [media] coda: add workqueue to serialize hardware commands Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 10/32] [media] coda: Use mem-to-mem ioctl helpers Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 11/32] [media] coda: use ctx->fh.m2m_ctx instead of ctx->m2m_ctx Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 12/32] [media] coda: Add runtime pm support Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 13/32] [media] coda: split firmware version check out of coda_hw_init Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 14/32] [media] coda: select GENERIC_ALLOCATOR Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 15/32] [media] coda: add h.264 min/max qp controls Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 16/32] [media] coda: add h.264 deblocking filter controls Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 17/32] [media] coda: add cyclic intra refresh control Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 18/32] [media] v4l2-mem2mem: export v4l2_m2m_try_schedule Philipp Zabel
2014-07-21 19:04 ` Mauro Carvalho Chehab
2014-07-22 8:56 ` Philipp Zabel
2014-07-22 12:36 ` [PATCH v4] " Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 19/32] [media] coda: try to schedule a decode run after a stop command Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 20/32] [media] coda: add decoder timestamp queue Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 21/32] [media] coda: alert userspace about macroblock errors Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 22/32] [media] coda: add sequence counter offset Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 23/32] [media] coda: rename prescan_failed to hold and stop stream after timeout Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 24/32] [media] coda: add reset control support Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 25/32] [media] coda: add bytesperline to queue data Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 26/32] [media] coda: allow odd width, but still round up bytesperline Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 27/32] [media] coda: round up internal frames to multiples of macroblock size for h.264 Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 28/32] [media] coda: increase frame stride to 16 " Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 29/32] [media] coda: export auxiliary buffers via debugfs Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 30/32] [media] coda: store per-context work buffer size in struct coda_devtype Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 31/32] [media] coda: store global temporary " Philipp Zabel
2014-07-11 9:36 ` [PATCH v3 32/32] [media] coda: store IRAM " Philipp Zabel
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=20140721191944.GK13730@pengutronix.de \
--to=r.schwebel@pengutronix.de \
--cc=fabio.estevam@freescale.com \
--cc=hverkuil@xs4all.nl \
--cc=k.debski@samsung.com \
--cc=kernel@pengutronix.de \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=nicolas.dufresne@collabora.com \
--cc=p.zabel@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox