summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorRenjiang Han <renjiang.han@oss.qualcomm.com>2026-03-31 07:37:07 +0300
committerBryan O'Donoghue <bod@kernel.org>2026-05-30 10:41:47 +0300
commite1c9adabb268cc5d56723b7df1da49e59070f309 (patch)
tree20babb8765e7ecff91860216e6220a405dfb0d74 /include/linux/stacktrace.h
parente49686fff1f11ed3085b7b9b56a20ba0ebd9a509 (diff)
downloadlinux-e1c9adabb268cc5d56723b7df1da49e59070f309.tar.xz
media: qcom: venus: drop extra padding in NV12 raw size calculation
get_framesize_raw_nv12() currently adds SZ_4K to the UV plane size and an additional SZ_8K to the total buffer size. This inflates the calculated sizeimage and leads userspace to over-allocate buffers without a clear requirement. Remove the extra SZ_4K/SZ_8K padding and compute the NV12 size as the sum of Y and UV planes, keeping the final ALIGN(size, SZ_4K) intact. Fixes: e1cb72de702ad ("media: venus: helpers: move frame size calculations on common place") Signed-off-by: Renjiang Han <renjiang.han@oss.qualcomm.com> Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions