nouveau/tu102: flush all pdbs on vmm flush
authorDave Airlie <airlied@redhat.com>
Thu, 30 Nov 2023 01:08:52 +0000 (11:08 +1000)
committerDanilo Krummrich <dakr@redhat.com>
Thu, 30 Nov 2023 04:47:42 +0000 (05:47 +0100)
commitcb9c919364653eeafb49e7ff5cd32f1ad64063ac
treed8da5b0fa988d874513e421a603f34bae6459055
parent88a2b4d34a64bba914c4e245c6de3ca42bea93cf
nouveau/tu102: flush all pdbs on vmm flush

This is a hack around a bug exposed with the GSP code, I'm not sure
what is happening exactly, but it appears some of our flushes don't
result in proper tlb invalidation for out BAR2 and we get a BAR2
fault from GSP and it all dies.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130010852.4034774-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c