nouveau: offload fence uevents work to workqueue
authorDave Airlie <airlied@redhat.com>
Mon, 29 Jan 2024 01:26:45 +0000 (11:26 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Feb 2024 07:15:47 +0000 (17:15 +1000)
commit39126abc5e20611579602f03b66627d7cd1422f0
treee9f8d124a7b38fc615a2a2d25f451a907fd64d60
parentb5e69be185495696652405088a27ab0b21812147
nouveau: offload fence uevents work to workqueue

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/
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nouveau_fence.h