]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf
authorKarol Herbst <kherbst@redhat.com>
Fri, 19 Aug 2022 20:09:28 +0000 (22:09 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 Oct 2022 08:39:34 +0000 (10:39 +0200)
commit3ecd75ac86094d395d5b49d6940981a2f9125346
tree2986f01bb945916b68ac2c9f8e83fe3d536d38cb
parent1f1ef170de603ae68a67034e6b39e07c0d0a0643
nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf

BugLink: https://bugs.launchpad.net/bugs/1991717
commit 6b04ce966a738ecdd9294c9593e48513c0dc90aa upstream.

It is a bit unlcear to us why that's helping, but it does and unbreaks
suspend/resume on a lot of GPUs without any known drawbacks.

Cc: stable@vger.kernel.org # v5.15+
Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/156
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220819200928.401416-1-kherbst@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/nouveau/nouveau_bo.c