diff options
author | Dave Airlie <airlied@redhat.com> | 2023-10-30 06:49:36 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2023-11-03 05:57:19 +0300 |
commit | 5177e5fa6e9e32decfc5beedf82823a0e57bdcff (patch) | |
tree | 3783a1669f8d9d9d2f1452a1f1f16ff9ca978588 /drivers | |
parent | b5bad8c16b9b67be5ce04b8c2f0f1e22c68d8fd9 (diff) | |
download | linux-5177e5fa6e9e32decfc5beedf82823a0e57bdcff.tar.xz |
nouveau/gsp: fix message signature.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c index 47138d797748..b6f6b5e747d4 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c @@ -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; |