From: "jackson.lee" <jackson.lee@chipsnmedia.com>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
"mchehab@kernel.org" <mchehab@kernel.org>,
"hverkuil-cisco@xs4all.nl" <hverkuil-cisco@xs4all.nl>,
"bob.beckett@collabora.com" <bob.beckett@collabora.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"lafley.kim" <lafley.kim@chipsnmedia.com>,
"b-brnich@ti.com" <b-brnich@ti.com>,
"hverkuil@xs4all.nl" <hverkuil@xs4all.nl>,
Nas Chung <nas.chung@chipsnmedia.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: RE: [PATCH v2 5/9] media: chips-media: wave5: finish a job only once
Date: Fri, 27 Nov 2026 09:11:10 +0000 [thread overview]
Message-ID: <SLXP216MB1148C28B27443A92A5BBAFC2ED412@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <44f3c5e0117b9a3242bf247102df5000d009b721.camel@collabora.com>
Hi Nicolas,
Thanks for the review.
> > +static void wave5_dec_finish_job(struct vpu_instance *inst)
> > +{
> > + if (!test_and_clear_bit(WAVE5_JOB_RUNNING, &inst->job_flags))
> > + return;
> > +
> > + v4l2_m2m_job_finish(inst->v4l2_m2m_dev, inst->v4l2_fh.m2m_ctx);
> > +}
>
> To me, the complexity is a side effect of how the performance issue was
> addressed without doing a redesign. I'm fine letting this go, but it will
> get harder and harder without a proper cleanup and redesign.
Agreed, and thanks for letting it go. Once this series is settled, we
will look at reworking the decoder job flow so that each job has a
single, clear owner instead of guarding every place that finishes it.
> > + struct delayed_work unstall_work; /* releases a stale empty_queue park */
>
> This might belong to patch 6.
You are right. unstall_work is only used from patch 6; it ended up here
when the patches were split. I will move it to patch 6 in v3.
Best regards,
Jackson
next prev parent reply other threads:[~2026-11-27 9:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 5:28 [PATCH v2 0/9] fix decoder corruption, stalls and seek issues Jackson.lee
2026-11-09 5:28 ` [PATCH v2 1/9] media: chips-media: wave5: Ensure Atomic Access to src_buf list Jackson.lee
2026-11-27 0:34 ` Nicolas Dufresne
2026-11-09 5:28 ` [PATCH v2 2/9] media: chips-media: wave5: drop the consumed-byte tally on OUTPUT streamoff Jackson.lee
2026-11-27 0:38 ` Nicolas Dufresne
2026-11-09 5:28 ` [PATCH v2 3/9] media: chips-media: wave5: wait before retrying a refused flush Jackson.lee
2026-11-27 0:40 ` Nicolas Dufresne
2026-11-09 5:28 ` [PATCH v2 4/9] media: chips-media: wave5: ack the interrupt after dispatching it Jackson.lee
2026-11-27 0:54 ` Nicolas Dufresne
2026-11-09 5:28 ` [PATCH v2 5/9] media: chips-media: wave5: finish a job only once Jackson.lee
2026-11-27 1:16 ` Nicolas Dufresne
2026-11-27 9:11 ` jackson.lee [this message]
2026-11-09 5:28 ` [PATCH v2 6/9] media: chips-media: wave5: decode only when the ring holds unclaimed bitstream Jackson.lee
2026-11-09 5:28 ` [PATCH v2 7/9] media: chips-media: wave5: stamp decoded pictures from a decode-order queue Jackson.lee
2026-11-09 5:28 ` [PATCH v2 8/9] media: chips-media: wave5: restore the display flags after a flush Jackson.lee
2026-11-27 1:27 ` Nicolas Dufresne
2026-11-09 5:28 ` [PATCH v2 9/9] media: chips-media: wave5: Stop FrameBuf Reset During Seek Jackson.lee
2026-11-27 1:20 ` Nicolas Dufresne
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=SLXP216MB1148C28B27443A92A5BBAFC2ED412@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM \
--to=jackson.lee@chipsnmedia.com \
--cc=b-brnich@ti.com \
--cc=bob.beckett@collabora.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=hverkuil@xs4all.nl \
--cc=lafley.kim@chipsnmedia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=nas.chung@chipsnmedia.com \
--cc=nicolas.dufresne@collabora.com \
--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®