diff options
| author | Mohammed EL Kadiri <med08elkadiri@gmail.com> | 2026-06-10 13:56:55 +0100 |
|---|---|---|
| committer | Bryan O'Donoghue <bod@kernel.org> | 2026-07-30 10:47:43 +0100 |
| commit | bd595b745eb770e80347c31ffc25351046935305 (patch) | |
| tree | eda43731bab5071c0c623a2dd3108906e2c34abf /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a51cea23e409278f6e2ea072280aba93cc1dd75e (diff) | |
media: venus: fix payload size calculation in parse_raw_formats()
The consumed size is computed after the loop using the num_planes value
from the last iteration for all entries. When entries have different
plane counts, this produces an incorrect total.
Accumulate the actual size during the loop instead.
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/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
