]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: convert Gsp::new() to use CoherentBox
authorDanilo Krummrich <dakr@kernel.org>
Fri, 20 Mar 2026 19:45:42 +0000 (20:45 +0100)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 23 Mar 2026 21:36:00 +0000 (22:36 +0100)
commit7f3e836e4306c2026975fefc150cc0e5c569d5f3
treef2a6017cc00a52d72e9a37ecf671dbe793368a62
parente21ad5e51c889e4b40a2a3d48363cbed9b047a68
gpu: nova-core: convert Gsp::new() to use CoherentBox

Convert libos (LibosMemoryRegionInitArgument) and rmargs
(GspArgumentsPadded) to use CoherentBox / Coherent::init() and simplify
the initialization. This also avoids separate initialization on the
stack.

Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260320194626.36263-8-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/gsp.rs
drivers/gpu/nova-core/gsp/fw.rs