Re: [PATCH] media: meson: vdec: size capture planes from the aligned canvas
From: Michael Freidkin
Date: Tue Sep 29 2026 - 02:11:22 EST
On Tue, Sep 29, 2026 at 08:46:45AM +0300, Dan Carpenter wrote:
> Reviewed-by: Dan Carpenter <error27@xxxxxxxxx>
>
> 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