[Freedreno] [PATCH] drm/msm/gpu: Fix crash on devices without devfreq support (v2)
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Mar 8 21:03:30 UTC 2022
On Tue, 8 Mar 2022 at 21:48, Rob Clark <robdclark at gmail.com> wrote:
>
> From: Rob Clark <robdclark at chromium.org>
>
> Avoid going down devfreq paths on devices where devfreq is not
> initialized.
>
> v2: Change has_devfreq() logic [Dmitry]
>
> Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>
> Reported-by: Anders Roxell <anders.roxell at linaro.org>
> Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/gpu/drm/msm/msm_gpu_devfreq.c | 30 ++++++++++++++++++++++-----
> 1 file changed, 25 insertions(+), 5 deletions(-)
>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list