]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nouveau: offload fence uevents work to workqueue
authorDave Airlie <airlied@redhat.com>
Mon, 29 Jan 2024 01:26:45 +0000 (11:26 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:51:29 +0000 (09:51 +0100)
commit985d053f7633d8b539ab1531738d538efac678a9
tree32916a8d16f98ba88604e0ff5ac6d2cdfd5bbd72
parent7eec74df727fbfc00a3edec721eac2829b00df0f
nouveau: offload fence uevents work to workqueue

commit 39126abc5e20611579602f03b66627d7cd1422f0 upstream.

This should break the deadlock between the fctx lock and the irq lock.

This offloads the processing off the work from the irq into a workqueue.

Cc: linux-stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/576237/
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nouveau_fence.h