From: Mohammed EL Kadiri <med08elkadiri@gmail.com>
To: quic_vgarodia@quicinc.com, quic_dikshita@quicinc.com,
bryan.odonoghue@linaro.org, mchehab@kernel.org
Cc: hverkuil@kernel.org, dmitry.baryshkov@oss.qualcomm.com,
linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Mohammed EL Kadiri <med08elkadiri@gmail.com>
Subject: [PATCH 0/2] media: venus: fix HFI parser payload size returns
Date: Wed, 10 Jun 2026 13:56:53 +0100 [thread overview]
Message-ID: <20260610125655.10517-1-med08elkadiri@gmail.com> (raw)
Several parse functions return incorrect consumed sizes after the
refactor in commit 9edaaa8e3e15. hfi_parser() uses these values to
advance through the firmware response buffer, so incorrect sizes cause
parser desynchronization.
parse_profile_level() has the correct pattern. These patches align the
remaining functions to match it.
Compile-tested with arm64 cross-compiler (gcc 13.3).
Mohammed EL Kadiri (2):
media: venus: fix payload size returned by parse_caps() and
parse_alloc_mode()
media: venus: fix payload size calculation in parse_raw_formats()
drivers/media/platform/qcom/venus/hfi_parser.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--
2.43.0
next reply other threads:[~2026-06-10 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 12:56 Mohammed EL Kadiri [this message]
2026-06-10 12:56 ` [PATCH 1/2] media: venus: fix payload size returned by parse_caps() and parse_alloc_mode() Mohammed EL Kadiri
2026-06-10 13:26 ` Dmitry Baryshkov
2026-06-10 12:56 ` [PATCH 2/2] media: venus: fix payload size calculation in parse_raw_formats() Mohammed EL Kadiri
2026-06-10 13:26 ` Dmitry Baryshkov
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=20260610125655.10517-1-med08elkadiri@gmail.com \
--to=med08elkadiri@gmail.com \
--cc=bryan.odonoghue@linaro.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--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_dikshita@quicinc.com \
--cc=quic_vgarodia@quicinc.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®