Re: [PATCH] drm/panfrost: Prevent concurrent resets

From: Rob Herring
Date: Thu Apr 18 2019 - 10:33:17 EST


On Thu, Apr 18, 2019 at 3:43 AM Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx> wrote:
>
> If a job times out in slot 0 while a reset is performed because a job
> timed out in slot 1, the drm-sched core can get into a deadlock.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/panfrost/panfrost_device.c | 1 +
> drivers/gpu/drm/panfrost/panfrost_device.h | 1 +
> drivers/gpu/drm/panfrost/panfrost_job.c | 4 ++++
> 3 files changed, 6 insertions(+)

Applied, thanks.