nouveau: rip out busy fence waits
I'm pretty sure this optimisation is actually not a great idea, and is racy with other things waiting for fences. Just nuke it, there should be no need to do fence waits in a busy CPU loop. Signed-off-by:Dave Airlie <airlied@redhat.com> Reviewed-by:
Ben Skeggs <bskeggs@nvidia.com> Signed-off-by:
Danilo Krummrich <dakr@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240417054032.3145721-1-airlied@gmail.com
Showing
- drivers/gpu/drm/nouveau/nouveau_bo.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_bo.c
- drivers/gpu/drm/nouveau/nouveau_chan.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_chan.c
- drivers/gpu/drm/nouveau/nouveau_dmem.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_dmem.c
- drivers/gpu/drm/nouveau/nouveau_fence.c 1 addition, 29 deletionsdrivers/gpu/drm/nouveau/nouveau_fence.c
- drivers/gpu/drm/nouveau/nouveau_fence.h 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_fence.h
- drivers/gpu/drm/nouveau/nouveau_gem.c 1 addition, 1 deletiondrivers/gpu/drm/nouveau/nouveau_gem.c
Please register or sign in to comment