linux/drivers/gpu/drm/nouveau/nvif
Ben Skeggs 491254fff9 drm/nouveau/nvif: fix null ptr deref on pre-fermi boards
Check that gpfifo.post() exists before trying to call it.

Fixes: 862450a85b ("drm/nouveau/gf100-: track chan progress with non-WFI semaphore release")
Reported-by: Jamie Heilman <jamie@audible.transient.net>
Closes: https://lore.kernel.org/lkml/aElJIo9_Se6tAR1a@audible.transient.net/
Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Closes: https://lore.kernel.org/all/CALjTZvZgH0N43rMTcZiDVSX93PFL680hsYPwtp8=Ja1OWPvZ1A@mail.gmail.com/
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Link: https://lore.kernel.org/r/20250714025923.29591-1-bskeggs@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-07-21 11:16:11 +02:00
..
chan.c drm/nouveau/nvif: fix null ptr deref on pre-fermi boards 2025-07-21 11:16:11 +02:00
chan506f.c drm/nouveau/gf100-: track chan progress with non-WFI semaphore release 2025-05-19 07:14:44 +10:00
chan906f.c drm/nouveau/gf100-: track chan progress with non-WFI semaphore release 2025-05-19 07:14:44 +10:00
chanc36f.c drm/nouveau/gf100-: track chan progress with non-WFI semaphore release 2025-05-19 07:14:44 +10:00
client.c drm/nouveau/nvif: remove client version 2024-07-27 03:05:33 +02:00
conn.c drm/nouveau/conn: Avoid -Wflex-array-member-not-at-end warning 2025-03-28 16:19:36 +01:00
device.c drm/nouveau: always map device 2024-07-27 03:05:35 +02:00
disp.c drm/nouveau/kms: add support for GB20x 2025-05-19 07:14:45 +10:00
driver.c drm/nouveau/nvif: remove client device arg 2024-07-27 03:05:32 +02:00
event.c
fifo.c
head.c
Kbuild drm/nouveau/gf100-: track chan progress with non-WFI semaphore release 2025-05-19 07:14:44 +10:00
mem.c
mmu.c
object.c drm/nouveau: Avoid multiple -Wflex-array-member-not-at-end warnings 2025-02-27 19:16:43 +01:00
outp.c drm/nouveau: outp: Use __member_size() helper 2025-04-23 16:53:24 +02:00
timer.c
user.c drm/nouveau: add support for GB20x 2025-05-19 07:14:45 +10:00
userc361.c
vmm.c