Re: [PATCH v3 3/3] gpu: nova-core: gsp: Extract and display usable FB regions from GSP

From: Alexandre Courbot

Date: Tue Jun 23 2026 - 02:18:18 EST


On Wed Jun 17, 2026 at 10:24 PM JST, Alexandre Courbot wrote:
> From: Joel Fernandes <joelagnelf@xxxxxxxxxx>
>
> Add usable_fb_regions() to GspStaticConfigInfo to extract the usable FB
> regions from GSP's fbRegionInfoParams. Usable regions are those that are
> not reserved or protected.
>
> The extracted regions are stored in GetGspStaticInfoReply and exposed
> for use by the memory subsystem.
>
> Display the regions and their total size upon device probe.
>
> Signed-off-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>
> [acourbot: expose all regions as a KVec, display usable regions and
> total usable VRAM.]
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Pushed to drm-rust-next, thanks for the reviews!

[acourbot: replace dev_info!() with dev_dbg!().]