]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: gsp: use () as message type for GspInitDone message
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 15 Dec 2025 05:49:10 +0000 (14:49 +0900)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 26 Jan 2026 02:17:12 +0000 (03:17 +0100)
commit0bfea95c3c02a887c25260e8aaf31cc9567bc478
tree0c86ce43288ffb9fe86f3dfe8d9112c134d5ee66
parent209c70953aa3630eb25e93e95464306a41b16d12
gpu: nova-core: gsp: use () as message type for GspInitDone message

`GspInitDone` has no payload whatsoever, so the unit type `()` is the
correct way to represent its message content. We can use it now that
`()` implements `FromBytes`.

Reviewed-by: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20251215-transmute_unit-v4-2-477d71ec7c23@nvidia.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/gpu/nova-core/gsp/commands.rs