summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMohammed EL Kadiri <med08elkadiri@gmail.com>2026-06-10 13:56:54 +0100
committerBryan O'Donoghue <bod@kernel.org>2026-07-30 10:47:43 +0100
commita51cea23e409278f6e2ea072280aba93cc1dd75e (patch)
treec64a6437ed108fc1486dda9c39906aba1684a990 /tools/perf/scripts
parent5eebacbc9a38e1019854ea5f86e367a4d5116387 (diff)
media: venus: fix payload size returned by parse_caps() and parse_alloc_mode()
parse_caps() and parse_alloc_mode() return only the size of their fixed header fields, excluding the flexible array payload. hfi_parser() uses this return value to advance through the firmware response buffer, so underreporting causes parser desynchronization. Return the full consumed size (header + entries), matching the correct pattern used by parse_profile_level(). Fixes: 9edaaa8e3e15 ("media: venus: hfi_parser: refactor hfi packet parsing logic") Cc: stable@vger.kernel.org Signed-off-by: Mohammed EL Kadiri <med08elkadiri@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions