]> 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:24:54 +0000 (09:24 +0100)
commitcc0037fa592d56e4abb9c7d1c52c4d2dc25cd906
tree68f794572508be0bdcff420688656aff414ed5bf
parentacd2eda2b28f878b1239535dbeee02522b057ef8
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