diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2025-11-10 22:34:09 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-11-14 11:05:58 +0900 |
| commit | 7c01dc25f5c828401a5807307c4f7dda6555469f (patch) | |
| tree | cc6648bdd9b0d78631cb81c11a814637f88b635a /drivers/gpu/nova-core/gsp.rs | |
| parent | e54ad0cd3673c93cdafda58505eaa81610fe3aef (diff) | |
gpu: nova-core: compute layout of more framebuffer regions required for GSP
Compute more of the required FB layout information to boot the GSP
firmware.
This information is dependent on the firmware itself, so first we need
to import and abstract the required firmware bindings in the `nvfw`
module.
Then, a new FB HAL method is introduced in `fb::hal` that uses these
bindings and hardware information to compute the correct layout
information.
This information is then used in `fb` and the result made visible in
`FbLayout`.
These 3 things are grouped into the same patch to avoid lots of unused
warnings that would be tedious to work around. As they happen in
different files, they should not be too difficult to track separately.
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251110-gsp_boot-v9-1-8ae4058e3c0e@nvidia.com>
Diffstat (limited to 'drivers/gpu/nova-core/gsp.rs')
| -rw-r--r-- | drivers/gpu/nova-core/gsp.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nova-core/gsp.rs b/drivers/gpu/nova-core/gsp.rs index 64e472e7a9d3..55a1ad90a373 100644 --- a/drivers/gpu/nova-core/gsp.rs +++ b/drivers/gpu/nova-core/gsp.rs @@ -6,6 +6,11 @@ use kernel::prelude::*; mod fw; +pub(crate) use fw::{ + GspFwWprMeta, + LibosParams, // +}; + pub(crate) const GSP_PAGE_SHIFT: usize = 12; pub(crate) const GSP_PAGE_SIZE: usize = 1 << GSP_PAGE_SHIFT; |