Revert "nouveau: push event block/allowing out of the fence context"
authorDave Airlie <airlied@redhat.com>
Fri, 26 Jan 2024 18:04:34 +0000 (04:04 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Jan 2024 18:04:34 +0000 (04:04 +1000)
commit4d7acc8f48bcf27d0dc068f02e55c77e840b9110
tree359f76cc3a1256f988bb886cee53aba14ea39938
parent9c4a1126ad9ce6699cc6ad2ca7c590cd1203c70f
Revert "nouveau: push event block/allowing out of the fence context"

This reverts commit eacabb5462717a52fccbbbba458365a4f5e61f35.

This commit causes some regressions in desktop usage, this will
reintroduce the original deadlock in DRI_PRIME situations, I've
got an idea to fix it by offloading to a workqueue in a different
spot, however this code has a race condition where we sometimes
miss interrupts so I'd like to fix that as well.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nouveau_fence.h