Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/lima: include pp bcast irq in timeout handler check

In commit 53cb55b20208 ("drm/lima: handle spurious timeouts due to high
irq latency") a check was added to detect an unexpectedly high interrupt
latency timeout.
With further investigation it was noted that on Mali-450 the pp bcast
irq may also be a trigger of race conditions against the timeout
handler, so add it to this check too.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405152951.1531555-3-nunes.erico@gmail.com

authored by

Erico Nunes and committed by
Qiang Yu
d8100caf 49c13b4d

+2
+2
drivers/gpu/drm/lima/lima_sched.c
··· 422 422 */ 423 423 for (i = 0; i < pipe->num_processor; i++) 424 424 synchronize_irq(pipe->processor[i]->irq); 425 + if (pipe->bcast_processor) 426 + synchronize_irq(pipe->bcast_processor->irq); 425 427 426 428 if (dma_fence_is_signaled(task->fence)) { 427 429 DRM_WARN("%s unexpectedly high interrupt latency\n", lima_ip_name(ip));