]> Gentwo Git Trees - linux/.git/commit
nouveau: fix disabling the nonstall irq due to storm code
authorDave Airlie <airlied@redhat.com>
Fri, 29 Aug 2025 02:16:32 +0000 (12:16 +1000)
committerDanilo Krummrich <dakr@kernel.org>
Fri, 29 Aug 2025 16:36:23 +0000 (18:36 +0200)
commit0ef5c4e4dbbfcebaa9b2eca18097b43016727dfe
treec6d8916a638f34af4ff18d6675e112687c561d74
parent16fdb3cc6af8460f23a706512c6f5e7dfdd4f338
nouveau: fix disabling the nonstall irq due to storm code

Nouveau has code that when it gets an IRQ with no allowed handler
it disables it to avoid storms.

However with nonstall interrupts, we often disable them from
the drm driver, but still request their emission via the push submission.

Just don't disable nonstall irqs ever in normal operation, the
event handling code will filter them out, and the driver will
just enable/disable them at load time.

This fixes timeouts we've been seeing on/off for a long time,
but they became a lot more noticeable on Blackwell.

This doesn't fix all of them, there is a subsequent fence emission
fix to fix the last few.

Fixes: 3ebd64aa3c4f ("drm/nouveau/intr: support multiple trees, and explicit interfaces")
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://lore.kernel.org/r/20250829021633.1674524-1-airlied@gmail.com
[ Fix a typo and a minor checkpatch.pl warning; remove "v2" from commit
  subject. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga102.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c