linux/drivers/gpu/drm/nouveau/nvkm/engine/ce
Dave Airlie 8f8a4dce64 nouveau: add a third state to the fini handler.
This is just refactoring to allow the lower layers to distinguish
between suspend and runtime suspend.

GSP 570 needs to set a flag with the GPU is going into GCOFF,
this flag taken from the opengpu driver is set whenever runtime
suspend is enterning GCOFF but not for normal suspend paths.

This just refactors the code, a subsequent patch use the information.

Fixes: 53dac06238 ("drm/nouveau/gsp: add support for 570.144")
Cc: <stable@vger.kernel.org>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Tested-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patch.msgid.link/20260203052431.2219998-3-airlied@gmail.com
2026-02-04 12:17:43 +10:00
..
fuc
ga100.c nouveau: add a third state to the fini handler. 2026-02-04 12:17:43 +10:00
ga102.c drm/nouveau/gsp: add common code for engines/engine objects 2025-05-19 06:29:24 +10:00
gb202.c drm/nouveau: add support for GB20x 2025-05-19 07:14:45 +10:00
gf100.c drm/nouveau/ce: make use of nvkm_subdev.inst 2021-02-11 11:49:56 +10:00
gk104.c drm/nouveau/ce: make use of nvkm_subdev.inst 2021-02-11 11:49:56 +10:00
gm107.c
gm200.c
gp100.c drm/nouveau/ce: make use of nvkm_subdev.inst 2021-02-11 11:49:56 +10:00
gp102.c
gt215.c drm/nouveau/fifo: add new channel lookup interfaces 2022-11-09 10:44:48 +10:00
gv100.c drm/nouveau/ce/gv100-: move method buffer to ce ctx 2022-07-13 13:56:50 +10:00
Kbuild drm/nouveau: add support for GB20x 2025-05-19 07:14:45 +10:00
priv.h nouveau: add a third state to the fini handler. 2026-02-04 12:17:43 +10:00
tu102.c drm/nouveau/gsp: add common code for engines/engine objects 2025-05-19 06:29:24 +10:00