From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Hans Verkuil <hverkuil@xs4all.nl>,
Hugues Fruchet <hugues.fruchet@st.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
Hugues Fruchet <hugues.fruchet@st.com>,
Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Subject: Re: [GIT PULL FOR v4.11] New st-delta driver
Date: Mon, 30 Jan 2017 17:18:21 -0200 [thread overview]
Message-ID: <20170130171821.1ff63f52@vento.lan> (raw)
In-Reply-To: <20170130171536.07f4996d@vento.lan>
Em Mon, 30 Jan 2017 17:15:36 -0200
Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu:
> Em Mon, 9 Jan 2017 14:23:33 +0100
> Hans Verkuil <hverkuil@xs4all.nl> escreveu:
>
> > See the v4 series for details:
> >
> > https://www.spinics.net/lists/linux-media/msg108737.html
> >
> > Regards,
> >
> > Hans
> >
> > The following changes since commit 40eca140c404505c09773d1c6685d818cb55ab1a:
> >
> > [media] mn88473: add DVB-T2 PLP support (2016-12-27 14:00:15 -0200)
> >
> > are available in the git repository at:
> >
> > git://linuxtv.org/hverkuil/media_tree.git delta
> >
> > for you to fetch changes up to e6f199d01e7b8bc4436738b6c666fda31b9f3340:
> >
> > st-delta: debug: trace stream/frame information & summary (2017-01-09 14:16:45 +0100)
> >
> > ----------------------------------------------------------------
> > Hugues Fruchet (10):
> > Documentation: DT: add bindings for ST DELTA
> > ARM: dts: STiH410: add DELTA dt node
> > ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support
> > MAINTAINERS: add st-delta driver
> > st-delta: STiH4xx multi-format video decoder v4l2 driver
> > st-delta: add memory allocator helper functions
> > st-delta: rpmsg ipc support
> > st-delta: EOS (End Of Stream) support
> > st-delta: add mjpeg support
> > st-delta: debug: trace stream/frame information & summary
>
> There is something wrong on this driver... even after applying all
> patches, it complains that there's a for there that does nothing:
>
> drivers/media/platform/sti/delta/delta-v4l2.c:322 register_decoders() warn: we never enter this loop
> drivers/media/platform/sti/delta/delta-v4l2.c: In function 'register_decoders':
> drivers/media/platform/sti/delta/delta-v4l2.c:322:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
> for (i = 0; i < ARRAY_SIZE(delta_decoders); i++) {
> ^
>
> On a first glance, it seems that the register_decoders() function is
> reponsible to register the format decoders that the hardware
> recognizes. If so, I suspect that this driver is deadly broken.
>
> Please be sure that the upstream driver works properly before
> submitting it upstream.
>
> Also, please fix the comments to match the Kernel standard. E. g.
> instead of:
>
> /* guard output frame count:
> * - at least 1 frame needed for display
> * - at worst 21
> * ( max h264 dpb (16) +
> * decoding peak smoothing (2) +
> * user display pipeline (3) )
> */
>
> It should be:
>
> /*
> * guard output frame count:
> * - at least 1 frame needed for display
> * - at worst 21
> * ( max h264 dpb (16) +
> * decoding peak smoothing (2) +
> * user display pipeline (3) )
> */
>
> There are several similar occurrences among this patch series.
Ah, forgot to comment, but it mentions a firmware. Does such firmware
reside on some RAM memory? If so, how such firmware is loaded?
>
> Thanks,
> Mauro
>
> Thanks,
> Mauro
Thanks,
Mauro
next prev parent reply other threads:[~2017-01-30 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 13:23 [GIT PULL FOR v4.11] New st-delta driver Hans Verkuil
2017-01-30 19:15 ` Mauro Carvalho Chehab
2017-01-30 19:18 ` Mauro Carvalho Chehab [this message]
2017-01-31 15:16 ` Hugues FRUCHET
2017-02-01 10:39 ` Mauro Carvalho Chehab
2017-02-01 15:33 ` Hugues FRUCHET
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=20170130171821.1ff63f52@vento.lan \
--to=mchehab@s-opensource.com \
--cc=benjamin.gaignard@linaro.org \
--cc=hugues.fruchet@st.com \
--cc=hverkuil@xs4all.nl \
--cc=jean-christophe.trotin@st.com \
--cc=linux-media@vger.kernel.org \
/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