Re: [PATCH v6 02/34] gpu: nova-core: add FbRange.len() and use it in boot.rs

From: Alexandre Courbot

Date: Tue Mar 10 2026 - 07:28:38 EST


On Tue Mar 10, 2026 at 11:10 AM JST, John Hubbard wrote:
> A tiny simplification: now that FbLayout uses its own specific FbRange
> type, add an FbRange.len() method, and use that to (very slightly)
> simplify the calculation of Frts::frts_size initialization.
>
> Suggested-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>

Applied to drm-rust-next, thanks!