[Freedreno] [PATCH v2] drm/msm/dpu: handle pm_runtime_get_sync() errors in bind path

Stephen Boyd swboyd at chromium.org
Thu May 19 00:40:03 UTC 2022


Quoting Abhinav Kumar (2022-05-18 15:34:07)
> If there are errors while trying to enable the pm in the
> bind path, it will lead to unclocked access of hw revision
> register thereby crashing the device.
>
> This will not address why the pm_runtime_get_sync() fails
> but at the very least we should be able to prevent the
> crash by handling the error and bailing out earlier.
>
> changes in v2:
>         - use pm_runtime_resume_and_get() instead of
>           pm_runtime_get_sync()
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---

Any Fixes tag? When did pm errors start happening in the bind path?

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the Freedreno mailing list