[Freedreno] [PATCH 1/2] drm/msm/gpu: Wait for idle before suspending
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri Jan 7 09:05:14 UTC 2022
Il 06/01/22 19:14, Rob Clark ha scritto:
> From: Rob Clark <robdclark at chromium.org>
>
> System suspend uses pm_runtime_force_suspend(), which cheekily bypasses
> the runpm reference counts. This doesn't actually work so well when the
> GPU is active. So add a reasonable delay waiting for the GPU to become
> idle.
>
> Alternatively we could just return -EBUSY in this case, but that has the
> disadvantage of causing system suspend to fail.
>
> Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Freedreno
mailing list