]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: gsp: add `size` helper to `CommandToGsp`
authorEliot Courtney <ecourtney@nvidia.com>
Fri, 6 Mar 2026 07:22:04 +0000 (16:22 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 10 Mar 2026 07:07:33 +0000 (16:07 +0900)
commitadcb40c5fcf085b16327ab1eef11ec157c9f603b
tree23c548d6b139f5b9e3639c496e94b18eb0150831
parentdcf1fdafe04095947f08db5a45d1994aa1d948fa
gpu: nova-core: gsp: add `size` helper to `CommandToGsp`

Add a default method to `CommandToGsp` which computes the size of a
command.

Tested-by: Zhi Wang <zhiw@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260306-cmdq-continuation-v6-7-cc7b629200ee@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/cmdq.rs