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

From: Dmitry Baryshkov
Date: Fri Oct 18 2024 - 08:02:37 EST


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@xxxxxxx>
> ---
> drivers/gpu/drm/msm/msm_gpu_devfreq.c | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>

--
With best wishes
Dmitry