media: venus: fix NV12 buffer sizing and incorrect capability alignment
Get series with b4
b4 am [email protected] change-id 20260331-fix_venus_bug_issue-e92badece1feVersions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | media: qcom: venus: drop extra padding in NV12 raw size calculationdrivers/ | +2 | 1 reply | |
| 2/3 | media: qcom: venus: relax encoder frame/blur dimension steps on v4drivers/ | +10 | 1 reply | |
| 3/3 | media: qcom: venus: relax encoder frame/blur step size on v6drivers/ | +8 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Dikshita Agarwal |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] media: venus: fix NV12 buffer sizing and incorrect capability alignment
The NV12 frame size calculation adds unnecessary 4K/8K padding, leading to buffer overallocation. The redundant padding is removed while keeping final 4K alignment. In addition, HFI platform capabilities advertise an overly strict 16-pixel alignment for frame and blur dimensions, which can reject valid userspace configurations. The alignment step is relaxed to 1 without changing min/max limits.
---
Renjiang Han (3):
media: qcom: venus: drop extra padding in NV12 raw size calculation
media: qcom: venus: relax encoder frame/blur dimension steps on v4
media: qcom: venus: relax encoder frame/blur step size on v6
drivers/media/platform/qcom/venus/helpers.c | 4 ++-- drivers/media/platform/qcom/venus/hfi_platform_v4.c | 20 ++++++++++---------- drivers/media/platform/qcom/venus/hfi_platform_v6.c | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-)
---
base-commit: 3b058d1aeeeff27a7289529c4944291613b364e9
change-id: 20260331-fix_venus_bug_issue-e92badece1fe
Best regards,
Signature · 1 line
Renjiang Han <[email protected]>