]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nouveau/tu102: flush all pdbs on vmm flush
authorDave Airlie <airlied@redhat.com>
Thu, 30 Nov 2023 01:08:52 +0000 (11:08 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jan 2024 10:50:05 +0000 (11:50 +0100)
commit2fff601a1d988ed5d8e7b8448f4fc44690244268
tree8c6c04cb27e39824659ce40fa072b7d8b066d685
parent94d2a9da31abb1d6746e827a0261f35ba69d8779
nouveau/tu102: flush all pdbs on vmm flush

[ Upstream commit cb9c919364653eeafb49e7ff5cd32f1ad64063ac ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c