Re: [PATCH v2 4/9] gpu: nova-core: gsp: add RM control RPC structure binding
From: Alistair Popple
Date: Fri Mar 20 2026 - 00:21:02 EST
Same comment as for patch 1, although feel free to do it all as one pull
request/commit.
On 2026-03-18 at 18:14 +1100, Eliot Courtney <ecourtney@xxxxxxxxxx> wrote...
> Add the bindgen rpc_gsp_rm_control_v03_00 structure. This is the
> structure for sending RM control commands.
>
> Signed-off-by: Eliot Courtney <ecourtney@xxxxxxxxxx>
> ---
> drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs b/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs
> index dd37a7fd58c6..05e205e6dc58 100644
> --- a/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs
> +++ b/drivers/gpu/nova-core/gsp/fw/r570_144/bindings.rs
> @@ -1025,6 +1025,17 @@ fn default() -> Self {
> }
> #[repr(C)]
> #[derive(Debug, Default, MaybeZeroable)]
> +pub struct rpc_gsp_rm_control_v03_00 {
> + pub hClient: u32_,
> + pub hObject: u32_,
> + pub cmd: u32_,
> + pub status: u32_,
> + pub paramsSize: u32_,
> + pub flags: u32_,
> + pub params: __IncompleteArrayField<u8_>,
> +}
> +#[repr(C)]
> +#[derive(Debug, Default, MaybeZeroable)]
> pub struct rpc_run_cpu_sequencer_v17_00 {
> pub bufferSizeDWord: u32_,
> pub cmdIndex: u32_,
>
> --
> 2.53.0
>