media: venus: fix HFI parser payload size returns
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: venus: fix payload size returned by parse_caps() and parse_alloc_mode()drivers/ | +2 | 1 reply | |
| 2/2 | media: venus: fix payload size calculation in parse_raw_formats()drivers/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dmitry Baryshkov |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] media: venus: fix HFI parser payload size returns
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(-)
Signature · 1 line
2.43.0