Patch "drm/lima: include pp bcast irq in timeout handler check" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

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

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-lima-include-pp-bcast-irq-in-timeout-handler-che.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a1d9bfe2adc180678aacd1c7a985590101c63f67
Author: Erico Nunes <nunes.erico@xxxxxxxxx>
Date:   Fri Apr 5 17:29:50 2024 +0200

    drm/lima: include pp bcast irq in timeout handler check
    
    [ Upstream commit d8100caf40a35904d27ce446fb2088b54277997a ]
    
    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@xxxxxxxxx>
    Signed-off-by: Qiang Yu <yuq825@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20240405152951.1531555-3-nunes.erico@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c
index 00b19adfc8881..66841503a6183 100644
--- a/drivers/gpu/drm/lima/lima_sched.c
+++ b/drivers/gpu/drm/lima/lima_sched.c
@@ -422,6 +422,8 @@ static enum drm_gpu_sched_stat lima_sched_timedout_job(struct drm_sched_job *job
 	 */
 	for (i = 0; i < pipe->num_processor; i++)
 		synchronize_irq(pipe->processor[i]->irq);
+	if (pipe->bcast_processor)
+		synchronize_irq(pipe->bcast_processor->irq);
 
 	if (dma_fence_is_signaled(task->fence)) {
 		DRM_WARN("%s unexpectedly high interrupt latency\n", lima_ip_name(ip));




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux