]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: gsp: support large RPCs via continuation record
authorEliot Courtney <ecourtney@nvidia.com>
Fri, 6 Mar 2026 07:22:05 +0000 (16:22 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 10 Mar 2026 07:07:33 +0000 (16:07 +0900)
commite8f4f9ae86a4636c16cf90208c5794e92090bd6b
treeadb1d7070f53b923d25bf6611f54cec26f22a5cc
parentadcb40c5fcf085b16327ab1eef11ec157c9f603b
gpu: nova-core: gsp: support large RPCs via continuation record

Splits large RPCs if necessary and sends the remaining parts using
continuation records. RPCs that do not need continuation records
continue to write directly into the command buffer. Ones that do write
into a staging buffer first, so there is one copy.

Continuation record for receive is not necessary to support at the
moment because those replies do not need to be read and are currently
drained by retrying `receive_msg` on `ERANGE`.

Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260306-cmdq-continuation-v6-8-cc7b629200ee@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/cmdq.rs
drivers/gpu/nova-core/gsp/cmdq/continuation.rs [new file with mode: 0644]
drivers/gpu/nova-core/gsp/fw.rs