Re: [PATCH 02/31] gpu: nova-core: add FbRange.len() and use it in boot.rs
From: Gary Guo
Date: Tue Jan 13 2026 - 08:29:08 EST
On Wed Dec 3, 2025 at 5:58 AM GMT, 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>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> drivers/gpu/nova-core/fb.rs | 6 ++++++
> drivers/gpu/nova-core/gsp/boot.rs | 2 +-
> 2 files changed, 7 insertions(+), 1 deletion(-)