]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: compute layout of more framebuffer regions required for GSP
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 10 Nov 2025 13:34:09 +0000 (22:34 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 14 Nov 2025 02:05:58 +0000 (11:05 +0900)
commit7c01dc25f5c828401a5807307c4f7dda6555469f
treecc6648bdd9b0d78631cb81c11a814637f88b635a
parente54ad0cd3673c93cdafda58505eaa81610fe3aef
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>
drivers/gpu/nova-core/fb.rs
drivers/gpu/nova-core/firmware/gsp.rs
drivers/gpu/nova-core/firmware/riscv.rs
drivers/gpu/nova-core/gsp.rs
drivers/gpu/nova-core/gsp/boot.rs
drivers/gpu/nova-core/gsp/fw.rs
drivers/gpu/nova-core/gsp/fw/r570_144.rs
drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs