Re: [PATCH v3 1/5] gpu: nova-core: correct FRTS vidmem offset calculation

Timur Tabi <[email protected]> Fri, 24 Jul 2026 16:52:15 +0000
Newsgroups dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Fri, 2026-07-24 at 15:56 +0900, Eliot Courtney wrote:
> +++ b/drivers/gpu/nova-core/fsp/hal.rs
> @@ -19,6 +19,10 @@ pub(super) trait FspHal {
>  
>      /// Returns the FSP Chain of Trust protocol version this chipset advertises.
>      fn cot_version(&self) -> u16;
> +
> +    // TODO: consider moving this into the TLV firmware metadata when ready
> +    /// Returns the size reserved at the end of the framebuffer, in bytes.
> +    fn fb_end_reserved_size(&self) -> u32;

Do you know where in OpenRM this value is encoded?

There are quite a few places in the code, especially for GA100 stuff, that are arbitrary and GPU-
specific.  Without a means to scrape that data from the OpenRM source, it will be impossible for the
script to obtain the values.