[PATCH] drm/msm/gpu: Check the status of registration to PM QoS

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Oct 18 12:02:24 UTC 2024


On Fri, Oct 18, 2024 at 12:18:11PM +0100, Lukasz Luba wrote:
> There is a need to check the returned value of the registration function.

Why?

> In case of returned error, print that and stop the init process.
> 
> Fixes: 7c0ffcd40b16 ("drm/msm/gpu: Respect PM QoS constraints")
> Signed-off-by: Lukasz Luba <lukasz.luba at arm.com>
> ---
>  drivers/gpu/drm/msm/msm_gpu_devfreq.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 

-- 
With best wishes
Dmitry


More information about the Freedreno mailing list