From 19b0a6e7c2be35f9b11c51c0c21c9a02c23252ff Mon Sep 17 00:00:00 2001 From: Alistair Popple Date: Mon, 10 Nov 2025 22:34:20 +0900 Subject: gpu: nova-core: gsp: Add SetRegistry command Add support for sending the SetRegistry command, which is critical to GSP initialization. The RM registry is serialized into a packed format and sent via the command queue. For now only three parameters which are required to boot GSP are hardcoded. In the future a kernel module parameter will be added to enable other parameters to be added. Signed-off-by: Alistair Popple [acourbot@nvidia.com: split into its own patch.] Signed-off-by: Alexandre Courbot Message-ID: <20251110-gsp_boot-v9-12-8ae4058e3c0e@nvidia.com> --- drivers/gpu/nova-core/sbuffer.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nova-core/sbuffer.rs') diff --git a/drivers/gpu/nova-core/sbuffer.rs b/drivers/gpu/nova-core/sbuffer.rs index 25e3ad665cac..7a5947b8be19 100644 --- a/drivers/gpu/nova-core/sbuffer.rs +++ b/drivers/gpu/nova-core/sbuffer.rs @@ -199,7 +199,6 @@ where /// Ideally we would implement [`Write`], but it is not available in `core`. /// So mimic `std::io::Write::write_all`. - #[expect(unused)] pub(crate) fn write_all(&mut self, mut src: &[u8]) -> Result { while !src.is_empty() { match self.get_slice_mut(src.len()) { -- cgit