[PATCH] media: meson: vdec: size capture planes from the aligned canvas
Michael Freidkin
freidkin at gmail.com
Mon Sep 28 23:08:12 PDT 2026
On Tue, Sep 29, 2026 at 08:46:45AM +0300, Dan Carpenter wrote:
> Reviewed-by: Dan Carpenter <error27 at gmail.com>
>
> It would probably be more reliable to just ALIGN() the width and
> height at the start so we don't have to do it over and over again.
Thanks for the review, Dan.
Agreed. I kept this one minimal so it backports cleanly with the Fixes
tag. If the maintainers prefer, I can send a v2 that aligns width and
height once in vdec_try_fmt_common() and derives bytesperline and the
plane sizes from them, or do that as a follow-up cleanup on top.
Michael
More information about the linux-amlogic
mailing list