Re: [PATCH v2] drm/panfrost: Sync IRQ by job's timeout handler

From: AngeloGioacchino Del Regno
Date: Mon Jul 24 2023 - 04:43:49 EST


Il 23/07/23 02:01, Dmitry Osipenko ha scritto:
Panfrost IRQ handler may stuck for a long time, for example this happens
when there is a bad HDMI connection and HDMI handler takes a long time to
finish processing, holding Panfrost. Make Panfrost's job timeout handler
to sync IRQ before checking fence signal status in order to prevent
spurious job timeouts due to a slow IRQ processing.

Signed-off-by: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>

Also, on MediaTek MT8192 and MT8195 Chromebooks:

Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>