drm/nouveau/fifo: expose function to read engine ctxsw status
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Jun 2022 10:48:04 +0000 (20:48 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2022 00:45:10 +0000 (10:45 +1000)
commit0ceceaa9ae8294b0da91d731027b5c4b1bb4187e
tree4e4619712b84dea60f8f8add3ba4944cd9a959c0
parent4500031f86691a44ecbbebfc77872c60c5a1b8e6
drm/nouveau/fifo: expose function to read engine ctxsw status

Needed to support Ampere differences in gr/gf100-:

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c