Skip to content

Commit

Permalink
nouveau/gsp: fix message signature.
Browse files Browse the repository at this point in the history
This original one was backwards, compared to traces from nvidia driver.

Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Nov 3, 2023
1 parent b5bad8c commit 5177e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ r535_gsp_rpc_get(struct nvkm_gsp *gsp, u32 fn, u32 argc)
return NULL;

rpc->header_version = 0x03000000;
rpc->signature = ('V' << 24) | ('R' << 16) | ('P' << 8) | 'C';
rpc->signature = ('C' << 24) | ('P' << 16) | ('R' << 8) | 'V';
rpc->function = fn;
rpc->rpc_result = 0xffffffff;
rpc->rpc_result_private = 0xffffffff;
Expand Down

0 comments on commit 5177e5f

Please sign in to comment.