From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
linux-media@vger.kernel.org,
John O'Callaghan <johnocallaghan@gmail.com>
Cc: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-amlogic@lists.infradead.org, linux-staging@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] media: meson: vdec: reset the VLD before H.264 decoding
Date: Mon, 30 Nov 2026 13:29:41 -0500 [thread overview]
Message-ID: <179606297698.348956.8963401318959501867.b4-ty@collabora.com> (raw)
In-Reply-To: <20261024174436.1835068-1-johnocallaghan@gmail.com>
On Sat, 24 Oct 2026 18:44:36 +0100, John O'Callaghan wrote:
> The H.264 decoder outputs wrong luma until the second IDR picture of a
> stream. Chroma is correct. The top-left macroblocks of the first IDR
> picture hold garbage that is different on each run. Intra prediction
> spreads the error over the picture, and inter prediction carries it to
> the following pictures.
>
> vdec_1_start() resets the VDEC1 blocks with DOS_SW_RESET0 before it
> powers on the VDEC memories with DOS_MEM_PD_VDEC. The VLD then starts
> in an undefined state. The vendor driver resets the VLD, IQIDCT and MC
> again in vh264_prot_init(), after the memories are on. This driver
> does not.
>
> [...]
Applied, thanks!
[1/1] media: meson: vdec: reset the VLD before H.264 decoding
commit: 5dd69896fe03765759439cc790874cd537385e1c
Best regards,
--
Nicolas Dufresne <nicolas.dufresne@collabora.com>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
prev parent reply other threads:[~2026-11-30 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 17:44 John O'Callaghan
2026-11-30 18:29 ` Nicolas Dufresne [this message]
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=179606297698.348956.8963401318959501867.b4-ty@collabora.com \
--to=nicolas.dufresne@collabora.com \
--cc=gregkh@linuxfoundation.org \
--cc=jbrunet@baylibre.com \
--cc=johnocallaghan@gmail.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=martin.blumenstingl@googlemail.com \
--cc=mchehab@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=stable@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
all inboxes | Powered by JetHome®