Re: [PATCH v2 06/11] gpu: nova-core: vbios: drop unused falcon_data_offset from FwSecBiosBuilder

From: Joel Fernandes

Date: Thu Apr 16 2026 - 12:14:29 EST




On 4/14/2026 7:54 AM, Eliot Courtney wrote:
> This is unused, so we can remove it.
>
> Signed-off-by: Eliot Courtney <ecourtney@xxxxxxxxxx>

Reviewed-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>

Thanks.


> ---
> drivers/gpu/nova-core/vbios.rs | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs
> index d8633e61178b..d63af95eb642 100644
> --- a/drivers/gpu/nova-core/vbios.rs
> +++ b/drivers/gpu/nova-core/vbios.rs
> @@ -256,7 +256,6 @@ pub(crate) fn new(dev: &device::Device, bar0: &Bar0) -> Result<Vbios> {
> Ok(BiosImageType::FwSec) => {
> let fwsec = FwSecBiosBuilder {
> base: image,
> - falcon_data_offset: None,
> pmu_lookup_table: None,
> falcon_ucode_offset: None,
> };
> @@ -631,8 +630,6 @@ struct FwSecBiosBuilder {
> /// Once FwSecBiosBuilder is constructed, the `falcon_ucode_offset` will be copied into a new
> /// [`FwSecBiosImage`].
> ///
> - /// The offset of the Falcon data from the start of Fwsec image.
> - falcon_data_offset: Option<usize>,
> /// The [`PmuLookupTable`] starts at the offset of the falcon data pointer.
> pmu_lookup_table: Option<PmuLookupTable>,
> /// The offset of the Falcon ucode.
> @@ -934,8 +931,6 @@ fn setup_falcon_data(
> offset -= first_fwsec.base.data.len();
> }
>
> - self.falcon_data_offset = Some(offset);
> -
> if pmu_in_first_fwsec {
> self.pmu_lookup_table = Some(PmuLookupTable::new(
> &self.base.dev,
>