linux/drivers/gpu/drm/nouveau/include/nvif
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
..
chan.h drm/nouveau/gf100-: track chan progress with non-WFI semaphore release 2025-05-19 07:14:44 +10:00
cl0002.h drm/nouveau: fix bogus GPL-2 license header 2019-07-19 16:26:50 +10:00
cl0046.h drm/nouveau/disp: expose head event class 2022-11-09 10:44:27 +10:00
cl0080.h drm/nouveau: add support for GB10x 2025-05-19 07:14:44 +10:00
cl9097.h drm/nouveau: fix bogus GPL-2 license header 2019-07-19 16:26:50 +10:00
class.h drm/nouveau: add support for GB20x 2025-05-19 07:14:45 +10:00
clb069.h drm/nouveau/fault: expose replayable fault buffer event class 2022-11-09 10:44:27 +10:00
client.h nouveau: add a third state to the fini handler. 2026-02-04 12:17:43 +10:00
conn.h drm/nouveau/kms/nv50-: create connectors based on nvkm info 2023-09-19 18:22:27 -04:00
device.h drm/nouveau: move nvxx_* definitions to nouveau_drv.h 2024-07-27 03:05:38 +02:00
disp.h drm/nouveau/disp: add head class 2022-11-09 10:43:10 +10:00
driver.h nouveau: add a third state to the fini handler. 2026-02-04 12:17:43 +10:00
event.h drm/nouveau/nvkm: rip out old notify 2022-11-09 10:44:27 +10:00
fifo.h drm/nouveau/fifo/gk104-: remove use of subdev index in runlist topology info 2021-02-11 11:49:58 +10:00
head.h drm/nouveau/disp: expose head event class 2022-11-09 10:44:27 +10:00
if0001.h drm/nouveau: fix bogus GPL-2 license header 2019-07-19 16:26:50 +10:00
if0004.h drm/nouveau/disp: expose page flip event class 2022-11-09 10:44:27 +10:00
if0005.h drm/nouveau: fix bogus GPL-2 license header 2019-07-19 16:26:50 +10:00
if0008.h drm/nouveau/mmu: Add correct turing page kinds 2020-01-15 10:49:59 +10:00
if0010.h drm/nouveau/disp: add head class 2022-11-09 10:43:10 +10:00
if0011.h drm/nouveau/kms/nv50-: create connectors based on nvkm info 2023-09-19 18:22:27 -04:00
if0012.h drm/nouveau/kms/nv50-: create outputs based on nvkm info 2023-09-19 18:22:29 -04:00
if0013.h drm/nouveau/disp: expose head event class 2022-11-09 10:44:27 +10:00
if0014.h drm/nouveau/disp: add common channel class handling 2022-07-27 09:05:48 +10:00
if0020.h drm/nouveau/fifo: add new channel classes 2022-11-09 10:44:50 +10:00
if0021.h drm/nouveau/fifo: add new channel classes 2022-11-09 10:44:50 +10:00
if500b.h
if500d.h
if900b.h
if900d.h
if0000.h drm/nouveau/nvif: remove client devlist 2024-07-27 03:05:33 +02:00
if000a.h
if000b.h
if000c.h drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm 2023-08-04 20:34:39 +02:00
if000d.h
if000e.h drm/nouveau/nvkm: add a replacement for nvkm_notify 2022-11-09 10:44:26 +10:00
ifb00d.h
ifc00d.h drm/nouveau/mmu/gp100-: support vmms with gcc/tex replayable faults enabled 2019-02-20 09:00:00 +10:00
ioctl.h drm/nouveau: Avoid multiple -Wflex-array-member-not-at-end warnings 2025-02-27 19:16:43 +01:00
log.h drm/nouveau: expose GSP-RM logging buffers via debugfs 2024-12-04 21:47:53 +01:00
mem.h drm/nouveau/nvif: give every mem object a human-readable identifier 2020-07-24 18:50:51 +10:00
mmu.h drm/nouveau/nvif: give every mmu object a human-readable identifier 2020-07-24 18:50:50 +10:00
object.h drm/nouveau/nv50-: separate CHANNEL_GPFIFO handling out from CHANNEL_DMA 2025-05-19 07:14:44 +10:00
os.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
outp.h drm/nouveau/kms/nv50-: create outputs based on nvkm info 2023-09-19 18:22:29 -04:00
parent.h drm/nouveau/nvif: add support for object-level debug output 2020-07-24 18:50:51 +10:00
printf.h drm/nouveau/disp: add common class handling between <nv50 and >=nv50 2022-07-27 09:05:46 +10:00
push.h drm/nouveau/nv50-: separate CHANNEL_GPFIFO handling out from CHANNEL_DMA 2025-05-19 07:14:44 +10:00
push006c.h drm/nouveau/fbcon: convert accel_init() to new push macros 2020-07-24 18:50:56 +10:00
push206e.h drm/nouveau/fbcon: convert accel_init() to new push macros 2020-07-24 18:50:56 +10:00
push507c.h drm/nouveau/kms/nv50-: add some whitespace before debug message 2020-09-03 15:32:23 +10:00
push906f.h drm/nouveau/gv100-: switch to volta semaphore methods 2025-05-19 06:29:26 +10:00
pushc37b.h drm/nouveau/kms/nv50-: convert wimm point() to new push macros 2020-07-24 18:50:51 +10:00
pushc97b.h drm/nouveau/kms: add support for GB20x 2025-05-19 07:14:45 +10:00
timer.h drm/nouveau/nvif: protect waits against GPU falling off the bus 2020-04-07 14:37:50 +10:00
unpack.h drm/nouveau: fix bogus GPL-2 license header 2019-07-19 16:26:50 +10:00
user.h drm/nouveau/nvif: give every usermode object a human-readable identifier 2020-07-24 18:50:51 +10:00
vmm.h drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm 2023-08-04 20:34:39 +02:00