]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nouveau/gsp: use rpc sequence numbers properly.
authorDave Airlie <airlied@redhat.com>
Tue, 3 Feb 2026 05:21:11 +0000 (15:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2026 02:17:34 +0000 (12:17 +1000)
commit90caca3b7264cc3e92e347b2004fff4e386fc26e
tree0a5df6d0b21fcf532a80d9c2d47b34e2eadc389c
parent78f1421dc3ac2588fb59b55e2b4c2c55a442913e
nouveau/gsp: use rpc sequence numbers properly.

There are two layers of sequence numbers, one at the msg level
and one at the rpc level.

570 firmware started asserting on the sequence numbers being
in the right order, and we would see nocat records with asserts
in them.

Add the rpc level sequence number support.

Fixes: 53dac0623853 ("drm/nouveau/gsp: add support for 570.144")
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Tested-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260203052431.2219998-2-airlied@gmail.com
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c