From: bod@kernel.org
To: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Cc: Vikash Garodia <vikash.garodia@oss.qualcomm.com>,
Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Bryan O'Donoghue <bod@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Vedang Nagar <quic_vnagar@quicinc.com>,
Hans Verkuil <hverkuil@kernel.org>,
Stefan Schmidt <stefan.schmidt@linaro.org>,
Hans Verkuil <hverkuil+cisco@kernel.org>,
Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>,
linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
stable@vger.kernel.org
Subject: Re: [PATCH v3 1/3] media: iris: Skip redundant decoder input config params
Date: Tue, 01 Dec 2026 10:26:49 +0000 [thread overview]
Message-ID: <179612080945.1465785.14895887780579154621.b4-reply@b4> (raw)
In-Reply-To: <20261125-fix_dec_seek-v3-1-66c9889def2a@oss.qualcomm.com>
On 2026-11-25 11:10 +0530, Vishnu Reddy wrote:
> When a decoder session starts, the driver sends the input configuration
> to the firmware on streamon of the output plane. This includes the
> aligned frame size and the default property settings. The firmware
> parses the frames and raises an input port settings change (IPSC) event
> if the stream properties differ from the programmed values. The capture
> port is not started at this stage. The driver forwards the event to the
> client as V4L2_EVENT_SOURCE_CHANGE. When the client then streams on the
> capture port, the driver resumes the input port, starts the capture port
> and decoding begins.
>
> On a seek, the client stops and restarts the output plane. The driver
> sends the same aligned input configuration and the other input
> properties again on the same session, and the firmware raises another
> IPSC event. No PSC last flag is sent after this, as the stream
> properties are the same as the ones already running. The client keeps
> waiting for the last flag and hangs.
>
> As per the firmware, the input configuration parameters must be set only
> once per session, and not on every stop and start of the input port. Skip
> sending the decoder input configuration once the input port properties
> have been programmed, reusing the existing ipsc_properties_set state.
>
> Fixes: 025398e9121c ("media: iris: subscribe parameters and properties to firmware for hfi_gen2")
> Cc: stable@vger.kernel.org
> Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
bod
next prev parent reply other threads:[~2026-12-01 10:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 5:40 [PATCH v3 0/3] media: iris: Fix issues exposed during decoder seek Vishnu Reddy
2026-11-25 5:40 ` [PATCH v3 1/3] media: iris: Skip redundant decoder input config params Vishnu Reddy
2026-12-01 7:06 ` Deepa Guthyappa Madivalara
2026-12-01 9:15 ` Konrad Dybcio
2026-12-01 10:26 ` bod [this message]
2026-11-25 5:40 ` [PATCH v3 2/3] media: iris: Skip redundant HFI_PROP_TIER updates Vishnu Reddy
2026-12-01 10:44 ` bod
2026-11-25 5:40 ` [PATCH v3 3/3] media: iris: Use firmware reported count for output buffers Vishnu Reddy
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=179612080945.1465785.14895887780579154621.b4-reply@b4 \
--to=bod@kernel.org \
--cc=abhinav.kumar@linux.dev \
--cc=bryan.odonoghue@linaro.org \
--cc=busanna.reddy@oss.qualcomm.com \
--cc=deepa.madivalara@oss.qualcomm.com \
--cc=dikshita.agarwal@oss.qualcomm.com \
--cc=hverkuil+cisco@kernel.org \
--cc=hverkuil@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quic_vnagar@quicinc.com \
--cc=stable@vger.kernel.org \
--cc=stefan.schmidt@linaro.org \
--cc=vikash.garodia@oss.qualcomm.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 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®