[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5338bd30-f3ed-42c7-af0e-77c3ef7d675d@kernel.org>
Date: Thu, 28 Aug 2025 13:27:10 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: Alexandre Courbot <acourbot@...dia.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
John Hubbard <jhubbard@...dia.com>, Alistair Popple <apopple@...dia.com>,
Joel Fernandes <joelagnelf@...dia.com>, Timur Tabi <ttabi@...dia.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
nouveau@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v2 5/8] gpu: nova-core: firmware: process and prepare the
GSP firmware
On 8/26/25 6:07 AM, Alexandre Courbot wrote:
> /// Structure encapsulating the firmware blobs required for the GPU to operate.
> #[expect(dead_code)]
> pub(crate) struct Firmware {
> @@ -36,7 +123,10 @@ pub(crate) struct Firmware {
> booter_unloader: BooterFirmware,
> /// GSP bootloader, verifies the GSP firmware before loading and running it.
> gsp_bootloader: RiscvFirmware,
> - gsp: firmware::Firmware,
> + /// GSP firmware.
> + gsp: Pin<KBox<GspFirmware>>,
Is there a reason why we don't just propagate it through struct Gpu, which uses
pin-init already?
You can make Firmware pin_data too and then everything is within the single
allocation of struct Gpu.
Powered by blists - more mailing lists