]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: gsp: simplify sequencer opcode parsing
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 17 Feb 2026 02:45:51 +0000 (11:45 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 24 Feb 2026 23:17:03 +0000 (08:17 +0900)
commit4503e61a625c1afff6d3f3e2a2e357a4007cc5c0
tree1ee1b0d04430189a44345c9f13710537dfee305e
parent3614290d75a4853a74ac501a64f1a4916c99bfe6
gpu: nova-core: gsp: simplify sequencer opcode parsing

The opcodes are already the right type in the C union, so we can use
them directly instead of converting them to a byte stream and back again
using `FromBytes`.

Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260217-nova-misc-v3-3-b4e2d45eafbc@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/fw.rs