diff options
| author | Erico Nunes <[email protected]> | 2024-04-05 15:29:50 +0000 |
|---|---|---|
| committer | Qiang Yu <[email protected]> | 2024-04-15 01:05:55 +0000 |
| commit | d8100caf40a35904d27ce446fb2088b54277997a (patch) | |
| tree | dfe20ed9e3a5c6d88fa07624722887bfb3c14a55 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/lima: add mask irq callback to gp and pp (diff) | |
| download | kernel-d8100caf40a35904d27ce446fb2088b54277997a.tar.gz kernel-d8100caf40a35904d27ce446fb2088b54277997a.zip | |
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 <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
| -rw-r--r-- | drivers/gpu/drm/lima/lima_sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c index 00b19adfc888..66841503a618 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)); |
